Sha256: b5bbd5787fe475c910a9bf78e4fc0a9f6a54c335674f9dac0a878d126e6c3dab

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

class CreateNetzkePreferences < ActiveRecord::Migration
  def self.up
    drop_table(:netzke_preferences) if table_exists?(:netzke_preferences)

    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

1 entries across 1 versions & 1 rubygems

Version Path
netzke-core-0.6.3 templates/core/create_netzke_preferences.rb