Sha256: f5b5792ec97f3506867bec61645dffbbcf9ab10265eb2d913aba93dead03772b

Contents?: true

Size: 304 Bytes

Versions: 9

Compression:

Stored size: 304 Bytes

Contents

class CreateNetzkePreferences < ActiveRecord::Migration
  def self.up
    create_table :netzke_preferences do |t|
      t.string  :key
      t.text    :value
      t.integer :user_id
      t.integer :role_id

      t.timestamps
    end
  end

  def self.down
    drop_table :netzke_preferences
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
netzke-basepack-0.6.3 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-basepack-0.6.2 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-core-0.6.4 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-basepack-0.6.1 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-core-0.6.3 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-core-0.6.2 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-core-0.6.1 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-basepack-0.6.0 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb
netzke-core-0.6.0 test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb