mastodon/db/migrate/20200724140229_create_artic...

11 lines
178 B
Ruby
Raw Permalink 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