Sha256: 6c5b0e4aecde19da4f940d5daa7ae55baae13afd1630747cd79058910e05d197

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

class CreateAppCacheSystemParams < ActiveRecord::Migration
  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

  def self.down
    drop_table :app_cache_system_params
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
app_cache-0.1.2 lib/generators/app_cache/templates/migration.rb
app_cache-0.1.1 lib/generators/app_cache/templates/migration.rb
app_cache-0.1.0 lib/generators/app_cache/templates/migration.rb