hello-learning/blog/db/migrate/20181007154045_create_articles.rb
2019-08-06 22:50:19 -05:00

10 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