]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20210510083028_create_active_storage_variant_records.active_storage.rb
Update to rails 7.0.2.2
[rails.git] / db / migrate / 20210510083028_create_active_storage_variant_records.active_storage.rb
index 07b2cd5ebf29e2726f575b54f5106297acf84dd4..1b013386a208ebbd6dcf519e917d344694f3e4ca 100644 (file)
@@ -2,7 +2,7 @@
 class CreateActiveStorageVariantRecords < ActiveRecord::Migration[6.0]
   def change
     create_table :active_storage_variant_records do |t|
-      t.belongs_to :blob, :null => false, :index => false
+      t.belongs_to :blob, :null => false, :type => :bigint, :index => false
       t.string :variation_digest, :null => false
 
       t.index [:blob_id, :variation_digest], :name => "index_active_storage_variant_records_uniqueness", :unique => true