Sha256: 4c50d231c75dc800bb4956cbcb0be268d50c4cf2580fd0788f864cc87f073acf
Contents?: true
Size: 694 Bytes
Versions: 169
Compression:
Stored size: 694 Bytes
Contents
class CreateComeeCoreQuotationRequests < ActiveRecord::Migration[7.1] def change create_table :comee_core_quotation_requests do |t| t.string :reference_no, null: false t.string :order_number, null: false t.date :order_date, null: false t.string :delivery_address, null: false t.string :invoice_address, null: false t.references :client, null: false, index: {name: "client_on_ccrfq_indx"}, foreign_key: {to_table: :comee_core_clients} t.integer :status, null: false, default: 0 t.timestamps end add_index :comee_core_quotation_requests, :reference_no, unique: true end end
Version data entries
169 entries across 169 versions & 1 rubygems