foalfetch/db/migrate/20240406101101_create_blogs.rb
2024-04-06 07:00:46 -04:00

9 lines
207 B
Ruby

class CreateBlogs < ActiveRecord::Migration[7.0]
def change
create_table :blogs do |t|
t.timestamps null: false
t.text :title, null: false
t.text :body, null: false
end
end
end