Sha256: 0738533371d430b71b4590726d0891f700d4cfb1fd67392643a5e645f91e2016

Contents?: true

Size: 725 Bytes

Versions: 96

Compression:

Stored size: 725 Bytes

Contents

class Change3ColumnsSystemSettings < ActiveRecord::Migration
  def self.up
    add_column :system_settings, :favorite_preset, :string, :limit => 36
    add_column :system_settings, :favorite_server, :string, :limit => 36
    add_column :system_settings, :favorite_action, :string, :limit => 36
    add_column :system_settings, :favorite_settings_profile, :string, :limit => 36
    add_column :system_settings, :inweb, :boolean
  end

  def self.down
    remove_column :system_settings, :favorite_preset
    remove_column :system_settings, :favorite_server
    remove_column :system_settings, :favorite_action
    remove_column :system_settings, :favorite_settings_profile
    remove_column :system_settings, :inweb
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
six-updater-web-0.24.15 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.14 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.13 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.12 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.11 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.10 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.9 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.8 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.7 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.6 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.5 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.4 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.3 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.2 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.1 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.24.0 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.23.7 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.23.6 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.23.5 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb
six-updater-web-0.23.4 lib/six-updater-web/db/migrate/20090928163562_change3_columns_system_settings.rb