aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext/test/dummy/db/migrate/20180212164506_create_active_storage_tables.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actiontext/test/dummy/db/migrate/20180212164506_create_active_storage_tables.rb')
-rw-r--r--actiontext/test/dummy/db/migrate/20180212164506_create_active_storage_tables.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actiontext/test/dummy/db/migrate/20180212164506_create_active_storage_tables.rb b/actiontext/test/dummy/db/migrate/20180212164506_create_active_storage_tables.rb
index 360e0d1b7a..0b2ce257c8 100644
--- a/actiontext/test/dummy/db/migrate/20180212164506_create_active_storage_tables.rb
+++ b/actiontext/test/dummy/db/migrate/20180212164506_create_active_storage_tables.rb
@@ -21,6 +21,7 @@ class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
t.datetime :created_at, null: false
t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
+ t.foreign_key :active_storage_blobs, column: :blob_id
end
end
end