Files
baclight/db/migrate/20210926221100_create_articles.rb
T

11 lines
181 B
Ruby
Raw Normal View History

2021-09-26 15:22:36 -07:00
class CreateArticles < ActiveRecord::Migration[7.0]
def change
create_table :articles do |t|
t.string :title
2021-12-16 14:32:18 -08:00
t.text :content
2021-09-26 15:22:36 -07:00
t.timestamps
end
end
end