Sha256: 1161eace5e6eb17f3965881dce5816bc16dd756ac0eb27d24ef6c83057168beb

Contents?: true

Size: 289 Bytes

Versions: 14

Compression:

Stored size: 289 Bytes

Contents

class CreateCadeneroV1Members < ActiveRecord::Migration
  def change
    create_table :cadenero_members do |t|
      t.references :account
      t.references :user

      t.timestamps
    end
    add_index :cadenero_members, :account_id
    add_index :cadenero_members, :user_id
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cadenero-0.0.2.b10 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b8 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b7 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b6 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b5 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b4 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b3 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b2 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.b1 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.a3 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.a2 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.a1 db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.2.a db/migrate/20130612073709_create_cadenero_v1_members.rb
cadenero-0.0.1 db/migrate/20130612073709_create_cadenero_v1_members.rb