* add new bit_flags column to posts

* conditionally enable embedded notes on a per post basis
This commit is contained in:
r888888888
2015-01-27 17:11:51 -08:00
parent b7e138844a
commit 9e505a0b84
6 changed files with 145 additions and 104 deletions

View 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