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.1.8 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.1.8 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.1.7 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.1.7 test/tmp/db/migrate/20130207165601_create_admin_item_params.rb
aslon_settings-0.1.7 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.1.6 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.1.6 test/tmp/db/migrate/20130207165601_create_admin_item_params.rb
aslon_settings-0.1.6 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.1.5 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.1.5 test/tmp/db/migrate/20130207165601_create_admin_item_params.rb
aslon_settings-0.1.5 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.1.4 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.1.4 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.1.4 test/tmp/db/migrate/20130207165601_create_admin_item_params.rb
aslon_settings-0.1.3 test/tmp/db/migrate/20130207165601_create_admin_item_params.rb
aslon_settings-0.1.3 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb
aslon_settings-0.1.3 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.1.2 lib/rails/generators/aslon_settings/templates/migration_item_params.rb
aslon_settings-0.1.2 test/tmp/db/migrate/20130207165601_create_admin_item_params.rb
aslon_settings-0.1.2 test/dummy/db/migrate/20120128163433_create_admin_item_params.rb