1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20150927033046_create_news_posts.rb

11 lines
201 B
Ruby
Raw Normal View History

class CreateNewsPosts < ActiveRecord::Migration
def change
create_table :news_posts do |t|
t.text :body
t.string :html_class, default: 'success'
t.timestamps
end
end
end