diff --git a/db/migrate/20260211055758_create_variant_links.rb b/db/migrate/20260211055758_create_variant_links.rb index 6d84484511..3109172f8a 100644 --- a/db/migrate/20260211055758_create_variant_links.rb +++ b/db/migrate/20260211055758_create_variant_links.rb @@ -11,7 +11,7 @@ class CreateVariantLinks < ActiveRecord::Migration[7.1] t.integer :source_variant_id, null: false, index: true t.integer :target_variant_id, null: false - t.timestamps + t.datetime :created_at, null: false end add_foreign_key :variant_links, :spree_variants, column: :source_variant_id add_foreign_key :variant_links, :spree_variants, column: :target_variant_id diff --git a/db/schema.rb b/db/schema.rb index 9db50b5bf2..a05db7e719 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1118,7 +1118,6 @@ ActiveRecord::Schema[7.1].define(version: 2026_03_06_015040) do t.integer "source_variant_id", null: false t.integer "target_variant_id", null: false t.datetime "created_at", null: false - t.datetime "updated_at", null: false t.index ["source_variant_id"], name: "index_variant_links_on_source_variant_id" end