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.2.86 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.85 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.84 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.83 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.82 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.81 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.80 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.78 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.77 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.76 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.75 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.70 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.69 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.68 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.67 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.66 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.65 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.64 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.63 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb
comee_core-0.2.62 db/migrate/20240111112140_create_comee_core_pickup_schedules.rb