vita_app/db/migrate/20160120110331_create_article_authors.rb
Nicolas Bally 1d3af87d4c initial
2016-04-28 10:07:08 +02:00

12 lines
229 B
Ruby
Executable File

class CreateArticleAuthors < ActiveRecord::Migration
def change
create_table :article_authors do |t|
t.string :name
t.text :description
t.boolean :enabled
t.timestamps null: false
end
end
end