Class: CreateAppCacheSystemParams
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateAppCacheSystemParams
- Defined in:
- lib/generators/app_cache/templates/migration.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
18 19 20 |
# File 'lib/generators/app_cache/templates/migration.rb', line 18 def self.down drop_table :app_cache_system_params end |
.up ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/generators/app_cache/templates/migration.rb', line 2 def self.up create_table :app_cache_system_params do |t| t.string :param_code, :limit =>50 t.string :param_name t.string :param_value, :limit =>100 t.string :param_desc t.string :param_level, :limit =>50 t.integer :param_level_id t.string :status, :limit =>20 t.integer :created_by t.integer :updated_by t.integer :lock_version t. end end |