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.0.2 test/tmp/db/migrate/20130207165600_create_admin_params.rb
aslon_settings-0.0.2 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.0.2 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.0.1 lib/rails/generators/aslon_settings/templates/migration_params.rb
aslon_settings-0.0.1 test/dummy/db/migrate/20120128163432_create_admin_params.rb
aslon_settings-0.0.1 test/tmp/db/migrate/20120202193559_create_admin_params.rb
aslon_settings-0.1.1 lib/rails/generators/aslon_settings/templates/migration_params.rb