Sha256: 4efe3ef33fac5078f5a87c7052252ef743e5157719594a029cf0e7a966dfe334

Contents?: true

Size: 523 Bytes

Versions: 15

Compression:

Stored size: 523 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.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

15 entries across 15 versions & 1 rubygems

Version Path
comee_core-0.1.52 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.51 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.50 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.49 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.48 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.47 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.46 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.45 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.45.pre3 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.45.pre2 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.45.pre db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.44 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.43 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.42 db/migrate/20231121094339_create_comee_core_quotation_requests.rb
comee_core-0.1.41 db/migrate/20231121094339_create_comee_core_quotation_requests.rb