Add the new macro table

git-svn-id: file:///home/svn/framework3/trunk@12929 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2011-06-12 19:04:05 +00:00
parent 7f3e2d182d
commit fbe525873a
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
class AddMacrosTable < ActiveRecord::Migration
def self.up
create_table :macros do |t|
t.timestamps
t.text :owner
t.text :name
t.text :description
t.binary :actions
t.binary :prefs
end
end
def self.down
drop_table :macros
end
end