#101 マイグレとコントローラ
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class AddOriginalCreatedAtToPosts < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :posts, :original_created_from, :datetime, after: :created_at
|
||||
add_column :posts, :original_created_before, :datetime, after: :original_created_from
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user