Sha256: 836131b205a6a54f98918fefdc91f9f10f3f1ec593db5a28508610fffc95a42e
Contents?: true
Size: 383 Bytes
Versions: 3
Compression:
Stored size: 383 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.6.2 | templates/core/create_netzke_preferences.rb |
netzke-core-0.6.1 | templates/core/create_netzke_preferences.rb |
netzke-core-0.6.0 | templates/core/create_netzke_preferences.rb |