rails generate migration file
rails generate migration CreatePost
class CreatePost < ActiveRecord::Migration[6.0] def change create_table :post do |t| ### TODO your columns for model t.timestamps end end end
rails generate migration CreatePost
class CreatePost < ActiveRecord::Migration[6.0] def change create_table :post do |t| ### TODO your columns for model t.timestamps end end end