mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
11 lines
178 B
Ruby
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
|