When running RAILS_ENV=production rails db:schema:...
# general
f
When running RAILS_ENV=production rails dbschemaload I get the following errorMysql2Error Cannot drop table 'active_storage_blobs' referenced by a foreign key constraint 'fk_rails_993965df05' on table 'active_storage_variant_records'
j
this conversation belongs in our #C0JBKDF35 channel
but this makes it very clear that your database already has stuff in it, so you shouldn't be trying to schema load
f
ok, thanks