rails-refresher/db/migrate/20240704175814_create_articles.rb
Tyrel Souza 8a91d51c39
finish
2024-07-04 21:00:08 -04:00

11 lines
178 B
Ruby

class CreateArticles < ActiveRecord::Migration[7.1]
def change
create_table :articles do |t|
t.string :title
t.text :body
t.timestamps
end
end
end