Seems I've just discovered an Issue. If you use same database for multiple Flarum installations, each with a db-prefix, when enabling the Extension an error occurs (something went wrong). Analyzing the log (storage/logs):
.
Next Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1005 Can't create table 'dbname'.'#sql-33d_32c' (errno: 121 "Duplicate key on write or update") (SQL: alter table 'f8_flagrow_file_downloads' add constraint 'flagrow_file_downloads_file_id_foreign' foreign key ('file_id') references 'f8_flagrow_files' ('id') on delete cascade) in /...root.../vendor/illuminate/database/Connection.php:664
The constraint should as well be prefixed else the database will detect a duplicate. As there is no prefixing done in the migrations-files, it may be a General issue on Illuminate ?
flagrow/upload158