Remove wrong migration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class AddCreatorToCardNotNows < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
add_reference :card_not_nows, :creator, null: false, foreign_key: { to_table: :users }
|
||||
add_reference :card_not_nows, :creator, null: true, foreign_key: { to_table: :users }
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
class RemoveCreatorFromCardNotNows < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
end
|
||||
end
|
||||
Generated
+1
-1
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2025_10_15_122204) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2025_10_15_123003) do
|
||||
create_table "accesses", force: :cascade do |t|
|
||||
t.datetime "accessed_at"
|
||||
t.integer "collection_id", null: false
|
||||
|
||||
+1
-1
@@ -3197,4 +3197,4 @@ indexes:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
version: 20251015122204
|
||||
version: 20251015123003
|
||||
|
||||
Reference in New Issue
Block a user