Sha256: 6f97219d7b5f095bc7fe1c13de0d854bf6b41e0ffc99729b0c7a5ac97520d54a

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

class CreateCadeneroV1Accounts < ActiveRecord::Migration
  def change
    create_table :cadenero_accounts do |t|
      t.string :name
      t.string :subdomain
      t.string :auth_token
      t.references :owner

      t.timestamps
    end
    add_index :cadenero_accounts, :owner_id
    add_index :cadenero_accounts, :auth_token
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cadenero-0.0.2.b10 db/migrate/20130612061604_create_cadenero_v1_accounts.rb
cadenero-0.0.2.b8 db/migrate/20130612061604_create_cadenero_v1_accounts.rb
cadenero-0.0.2.b7 db/migrate/20130612061604_create_cadenero_v1_accounts.rb