Sha256: bd2f70a232ab0c8958441be7aa2896b54ba9d5b9de52eedffc833abafe388927

Contents?: true

Size: 473 Bytes

Versions: 10

Compression:

Stored size: 473 Bytes

Contents

class CreateComeeCorePurchaseRequisitions < ActiveRecord::Migration[7.1]
  def change
    create_table :comee_core_purchase_requisitions do |t|
      t.string :requisition_no, null: false
      t.date :requisition_date, null: false
      t.string :remark
      t.integer :status, null: false, default: 0
      t.float :total_price, null: false, default: 0

      t.timestamps
    end
    add_index :comee_core_purchase_requisitions, :requisition_no, unique: true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
comee_core-0.2.40 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.39 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.38 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.37 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.36 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.35 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.34 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.33 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.32 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
comee_core-0.2.31 db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb