* add new bit_flags column to posts
* conditionally enable embedded notes on a per post basis
This commit is contained in:
6
db/migrate/20150128005954_add_bit_flags_to_posts.rb
Normal file
6
db/migrate/20150128005954_add_bit_flags_to_posts.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddBitFlagsToPosts < ActiveRecord::Migration
|
||||
def change
|
||||
execute "set statement_timeout = 0"
|
||||
add_column :posts, :bit_flags, "bigint", :null => false, :default => 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user