Sha256: 92491cf538565bd4c3ef0ee2089ee624b9641433281fb100d4b6dba89f0238f9

Contents?: true

Size: 210 Bytes

Versions: 5

Compression:

Stored size: 210 Bytes

Contents

class CreateBookings < ActiveRecord::Migration[5.2]
  def change
    create_table :bookings do |t|
      t.integer :slots_count
      t.references :user, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
easy_orderable-1.2.0 spec/dummy/db/migrate/20181213104543_create_bookings.rb
easy_orderable-1.1.1 spec/dummy/db/migrate/20181213104543_create_bookings.rb
easy_orderable-1.0.0 spec/dummy/db/migrate/20181213104543_create_bookings.rb
easy_orderable-0.2.2 spec/dummy/db/migrate/20181213104543_create_bookings.rb
easy_orderable-0.1.0 spec/dummy/db/migrate/20181213104543_create_bookings.rb