Sha256: 6953c1a1e96a99a97b90729f9013483ccc61d80c39525eeaa7129a548437c4fb
Contents?: true
Size: 554 Bytes
Versions: 182
Compression:
Stored size: 554 Bytes
Contents
class CreateComeeCoreShipmentInstructions < ActiveRecord::Migration[7.1] def change create_table :comee_core_shipment_instructions do |t| t.string :reference_no, null: false t.references :client, null: false, index: {name: "client_on_ccsi_indx"}, foreign_key: {to_table: :comee_core_clients} t.integer :status, null: false, default: 0 t.string :remark t.timestamps end add_index :comee_core_shipment_instructions, :reference_no, unique: true end end
Version data entries
182 entries across 182 versions & 1 rubygems