Sha256: 0aeaeb9d20ce1c9807f2800ab9962a8d788c38666bf16c2e31e365a26bd48ac0

Contents?: true

Size: 224 Bytes

Versions: 27

Compression:

Stored size: 224 Bytes

Contents

class CreateAccounts < ActiveRecord::Migration
  def self.up
    create_table :accounts do |t|
      t.string :name
      t.string :shard

      t.timestamps
    end
  end

  def self.down
    drop_table :accounts
  end
end

Version data entries

27 entries across 16 versions & 2 rubygems

Version Path
lookout-data_fabric-1.5.0 example30/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.3 example30/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.3 example23/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.2 example30/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.2 example23/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.1 example30/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.1 example23/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.0 example23/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.3.0 example30/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.2.7 example/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.2.7 example23/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.2.2 example/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.1.0 example/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.2.0 example/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.2.1 example22/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.0.0 example/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.0.2 example/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.2.0 example22/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.2.1 example/db/migrate/20080702154628_create_accounts.rb
data_fabric-1.0.1 example/db/migrate/20080702154628_create_accounts.rb