Sha256: 8b600a2db4c04271c22997f15a52e63258401b4c83905653ad69ec42f1d518fd

Contents?: true

Size: 660 Bytes

Versions: 135

Compression:

Stored size: 660 Bytes

Contents

class CreateComeeCorePickupSchedules < ActiveRecord::Migration[7.1]
  def change
    create_table :comee_core_pickup_schedules do |t|
      t.references :pod,
                   null: false,
                   index: {name: "pod_on_ccps_indx"},
                   foreign_key: {to_table: :comee_core_pods}
      t.references :time_slot,
                   null: false,
                   index: {name: "ts_on_ccps_indx"},
                   foreign_key: {to_table: :comee_core_time_slots}
      t.integer :status, null: false, default: 0
      t.string :truck_no
      t.string :driver_license_no
      t.string :plate_no

      t.timestamps
    end
  end
end

Version data entries

135 entries across 135 versions & 1 rubygems

Version Path
comee_core-0.3.26 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.25 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.24 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.23 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.22 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.21 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.20 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.19 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.18 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.17 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.16 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.15 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.14 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.13 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.12 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.11 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.10 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.9 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.8 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.3.7 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb