Files
danbooru/db/migrate/20150128005954_add_bit_flags_to_posts.rb
r888888888 9e505a0b84 * add new bit_flags column to posts
* conditionally enable embedded notes on a per post basis
2015-01-27 17:11:51 -08:00

7 lines
189 B
Ruby

class AddBitFlagsToPosts < ActiveRecord::Migration
def change
execute "set statement_timeout = 0"
add_column :posts, :bit_flags, "bigint", :null => false, :default => 0
end
end