class CreateAppCacheSystemParams

Public Class Methods

down() click to toggle source
# File lib/generators/app_cache/templates/migration.rb, line 18
def self.down
  drop_table :app_cache_system_params
end
up() click to toggle source
# 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.timestamps
  end
end