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

Version Path
comee_core-0.3.1 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.3.0 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.99 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.98 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.97 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.96 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.95 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.94 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.93 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.92 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.91 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.90 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.89 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.88 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.87 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.86 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.85 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.84 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.83 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb
comee_core-0.2.82 db/migrate/20240104131607_create_comee_core_shipment_instructions.rb