mastodon/db/migrate/20200724140229_create_articles.rb

11 lines
178 B
Ruby
Raw Normal View History

2020-07-24 17:04:16 +02:00
class CreateArticles < ActiveRecord::Migration[5.2]
def change
create_table :articles do |t|
t.string :title
t.text :text
t.timestamps
end
end
end