Sha256: 155ae7a238b22cdc80cc8156523af41e8b93adc5e1266ccdafac6d38d661308a

Contents?: true

Size: 265 Bytes

Versions: 38

Compression:

Stored size: 265 Bytes

Contents

class CreateRooms < ActiveRecord::Migration
  def change
    create_table :rooms, options: 'DEFAULT CHARSET=utf8' do |t|
      t.references :room_category, index: true
      t.references :listing, index: true, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
reso-0.1.4.9 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.8 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.7 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.6 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.5 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.4 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.3 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.2 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.1 lib/generators/reso/templates/create_rooms.rb
reso-0.1.4.0 lib/generators/reso/templates/create_rooms.rb
reso-0.1.3.1 lib/generators/reso/templates/create_rooms.rb
reso-0.1.3.0 lib/generators/reso/templates/create_rooms.rb
reso-0.1.2.0 lib/generators/reso/templates/create_rooms.rb
reso-0.1.1.0 lib/generators/reso/templates/create_rooms.rb
reso-0.1.0.3 lib/generators/reso/templates/create_rooms.rb
reso-0.1.0.2 lib/generators/reso/templates/create_rooms.rb
reso-0.1.0.1 lib/generators/reso/templates/create_rooms.rb
reso-0.1.0.0 lib/generators/reso/templates/create_rooms.rb