Add the new macro table
git-svn-id: file:///home/svn/framework3/trunk@12929 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
7f3e2d182d
commit
fbe525873a
|
@ -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
|
||||
|
Loading…
Reference in New Issue