mastodon/db/migrate/20200724140229_create_articles.rb

11 lines
178 B
Ruby

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