You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trustieforge/db/migrate/20151112072948_add_news_sti...

10 lines
171 B

class AddNewsSticky < ActiveRecord::Migration
def up
add_column :news, :sticky, :integer, :default => 0
end
def down
remove_column :news, :sticky
end
end