Sha256: f3b71093de4919a689bc72fac556c049ca00fe428324a7b132908d1fd1338a74

Contents?: true

Size: 233 Bytes

Versions: 27

Compression:

Stored size: 233 Bytes

Contents

class CreateAdminParams < ActiveRecord::Migration
  def self.up
    create_table :admin_params do |t|
      t.string :name
      t.integer :pos
      t.timestamps
    end
  end

  def self.down
    drop_table :admin_params
  end
end

Version data entries

27 entries across 10 versions & 1 rubygems

Version Path
aslon_settings-0.1.8 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.1.8 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.1.7 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.1.7 test/tmp/db/migrate/20130207165600_create_admin_params.rb
aslon_settings-0.1.7 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.1.6 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.1.6 test/tmp/db/migrate/20130207165600_create_admin_params.rb
aslon_settings-0.1.6 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.1.5 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.1.5 test/tmp/db/migrate/20130207165600_create_admin_params.rb
aslon_settings-0.1.5 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.1.4 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.1.4 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.1.4 test/tmp/db/migrate/20130207165600_create_admin_params.rb
aslon_settings-0.1.3 test/tmp/db/migrate/20130207165600_create_admin_params.rb
aslon_settings-0.1.3 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.1.3 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.1.2 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.1.2 test/tmp/db/migrate/20130207165600_create_admin_params.rb
aslon_settings-0.1.2 test/dummy/db/migrate/20120128163432_create_admin_params.rb