forked from OpenNeo/impress
10 lines
201 B
Ruby
10 lines
201 B
Ruby
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
|