Sha256: 017c5524ff4568ea489f4f1ecb1a2cc63424e7ff981eb97d05ac7129d144c2f1

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cadenero-0.0.2.b6 db/migrate/20130612061604_create_cadenero_v1_accounts.rb
cadenero-0.0.2.b5 db/migrate/20130612061604_create_cadenero_v1_accounts.rb