Class: ModSpox::Migrators::CreateChannelModes
- Inherits:
-
Sequel::Migration
- Object
- Sequel::Migration
- ModSpox::Migrators::CreateChannelModes
- Defined in:
- lib/mod_spox/migration/001_create_channel_modes.rb
Instance Method Summary collapse
Instance Method Details
#down ⇒ Object
8 9 10 |
# File 'lib/mod_spox/migration/001_create_channel_modes.rb', line 8 def down Models::ChannelMode.drop_table end |
#up ⇒ Object
4 5 6 |
# File 'lib/mod_spox/migration/001_create_channel_modes.rb', line 4 def up Models::ChannelMode.create_table unless Models::ChannelMode.table_exists? end |