The active_storage_blobs
table does not exist yet. You need to first run:
rails active_storage:install
This command will add 2 migrations for 2 tables: active_storage_attachments
and active_storage_blobs
.
These new migrations need to be run before the migrations you have above. There is a trick for this, you can consider manually changing the timestamp in the filenames of the 2 migrations you have above to one higher than the 2 new migrations active_storage:install
will create.
Once all of this is sorted, run rake db:migrate