Sha256: 18aeb838b7dfecd521ebc5f7eb239c8b796ebd5e86d53170842be74109b4a67c
Contents?: true
Size: 837 Bytes
Versions: 35
Compression:
Stored size: 837 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.references :agent, null: true, index: {name: "agent_on_ccps_indx"}, foreign_key: {to_table: :comee_core_agents} 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
35 entries across 35 versions & 1 rubygems