Class: CreateActions
- Includes:
- Six::Dbmanager::Migrate
- Defined in:
- lib/six-updater-web/db/migrate/20090829165545_create_actions.rb
Class Method Summary collapse
Methods included from Six::Dbmanager::Migrate
Class Method Details
.down ⇒ Object
14 15 16 17 |
# File 'lib/six-updater-web/db/migrate/20090829165545_create_actions.rb', line 14 def self.down drop_table :actions six_join(["action", "sixconfig"], :down) end |
.up ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/six-updater-web/db/migrate/20090829165545_create_actions.rb', line 4 def self.up create_table :actions do |t| t.string :name t.text :tasks t. :lock_version => false end six_join(["action", "sixconfig"]) end |