Sha256: dfd0222280cc69237865c594854046f4ee05b6812d9acb8c51bac7e5fb987f55

Contents?: true

Size: 295 Bytes

Versions: 27

Compression:

Stored size: 295 Bytes

Contents

class CreateAdminItemParams < ActiveRecord::Migration
  def self.up
     create_table :admin_item_params do |t|
      t.string :name
      t.string :value
      t.integer :pos
      t.integer :param_id
      t.timestamps
     end
  end
  def self.down
    drop_table :admin_item_params
  end
end

Version data entries

27 entries across 10 versions & 1 rubygems

Version Path
aslon_settings-0.0.2 test/tmp/db/migrate/20130207165601_create_admin_item_params.rb
aslon_settings-0.0.2 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.0.2 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.0.1 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.0.1 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.0.1 test/tmp/db/migrate/20120202193560_create_admin_item_params.rb
aslon_settings-0.1.1 lib/rails/generators/aslon_settings/templates/migration_item_params.rb