Sha256: fa6af4162b91fa0ad583bf3752b4aff6ac42fa6b9860a99accfdc5964866ef3d

Contents?: true

Size: 315 Bytes

Versions: 16

Compression:

Stored size: 315 Bytes

Contents

class CreateSettings < ActiveRecord::Migration
  def self.up
    create_table :qbrick_settings do |t|
      t.string :key
      t.text :value
      t.integer :settings_collection_id
    end
    
    add_index :qbrick_settings, :key, :unique => true
  end
 
  def self.down
    drop_table :qbrick_settings
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 db/migrate/22_create_settings.rb
qbrick-2.7 db/migrate/22_create_settings.rb
qbrick-2.6.10 db/migrate/22_create_settings.rb
qbrick-2.6.9 db/migrate/22_create_settings.rb
qbrick-2.6.8 db/migrate/22_create_settings.rb
qbrick-2.6.7 db/migrate/22_create_settings.rb
qbrick-2.6.6 db/migrate/22_create_settings.rb
qbrick-2.6.5 db/migrate/22_create_settings.rb
qbrick-2.6.4 db/migrate/22_create_settings.rb
qbrick-2.6.3 db/migrate/22_create_settings.rb
qbrick-2.6.2 db/migrate/22_create_settings.rb
qbrick-2.6.1 db/migrate/22_create_settings.rb
qbrick-2.6.0 db/migrate/22_create_settings.rb
qbrick-2.5.2 db/migrate/22_create_settings.rb
qbrick-2.5.1 db/migrate/22_create_settings.rb
qbrick-2.5.0 db/migrate/22_create_settings.rb