Class: CreateAppsettings
- Includes:
- Six::Dbmanager::Migrate
- Defined in:
- lib/six-updater-web/db/migrate/20090826185930_create_appsettings.rb
Class Method Summary collapse
Methods included from Six::Dbmanager::Migrate
Class Method Details
.down ⇒ Object
17 18 19 20 |
# File 'lib/six-updater-web/db/migrate/20090826185930_create_appsettings.rb', line 17 def self.down drop_table :appsettings six_join(["appsetting", "sixconfig"], :down) end |
.up ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/six-updater-web/db/migrate/20090826185930_create_appsettings.rb', line 4 def self.up create_table :appsettings do |t| t.string :name t.string :path t.string :exe t.string :params t. :lock_version => false end six_join(["appsetting", "sixconfig"]) end |