Sha256: fb945b8328a785b55019dc8d639f283975ad3cb72b6dbe99b9017c7a7680d333

Contents?: true

Size: 278 Bytes

Versions: 14

Compression:

Stored size: 278 Bytes

Contents

class CreateNiftyKeyValueStoreTable < ActiveRecord::Migration
  
  def up
    create_table :nifty_key_value_store do |t|
      t.integer :parent_id
      t.string  :parent_type, :group, :name, :value
    end
  end
  
  def down
    drop_table :nifty_key_value_store
  end
  
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/nifty-key-value-store-1.0.2/lib/nifty/key_value_store/migration.rb
nifty-key-value-store-1.0.2 lib/nifty/key_value_store/migration.rb
nifty-key-value-store-1.0.1 lib/nifty/key_value_store/migration.rb
shoppe-0.0.20 test/app/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.19 test/app/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.18 test/app/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.17 test/app/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.16 test/app/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.15 test/dummy/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.14 test/dummy/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.13 test/dummy/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.12 test/dummy/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
shoppe-0.0.11 test/dummy/db/migrate/20131017165222_create_nifty_key_value_store_table.rb
nifty-key-value-store-1.0.0 lib/nifty/key_value_store/migration.rb