Sha256: 02c4e9f0bda67b6805de0021ccc606f20ae66e85e30ec8d19d337755adaaa6e3

Contents?: true

Size: 245 Bytes

Versions: 35

Compression:

Stored size: 245 Bytes

Contents

class CreateAccount < ActiveRecord::Migration
  def up
    create_table :accounts, id: false do |t|
      t.uuid :id, primary_key: true
      t.timestamps
    end
    add_index :accounts, :id
  end

  def down
    drop_table :accounts
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.23 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.22 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.21 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.20 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.19 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.18 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.17 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.16 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.14 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.13 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.12 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.11 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.10 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.9 db/migrate/20120528164634_create_account.rb
iugusdk-1.0.0.alpha.7 db/migrate/20120528164634_create_account.rb