Sha256: cfd526df2f6175d939ad157ac13b8f4723532bde62e6b4a9c42c76e78f2deefe

Contents?: true

Size: 250 Bytes

Versions: 28

Compression:

Stored size: 250 Bytes

Contents

class CreateZines < ActiveRecord::Migration
  def change
    create_table :zines do |t|
      t.references :tenant
      t.references :calendar

      t.timestamps
    end
    add_index :zines, :tenant_id
    add_index :zines, :calendar_id
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
milia-0.3.38 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.34 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.33 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.32 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.31 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.30 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.29 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.28 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.27 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.26 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.25 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.24 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.23 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.22 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.21 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.20 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.19 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.18 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.17 test/rails_app/db/migrate/20111013050657_create_zines.rb
milia-0.3.16 test/rails_app/db/migrate/20111013050657_create_zines.rb