Sha256: ae927dd6e55a469d839fffc9f46e038e72687b5192b8d1503613d737a2be852a

Contents?: true

Size: 544 Bytes

Versions: 55

Compression:

Stored size: 544 Bytes

Contents

class CreateComeeCoreAdditionalServices < ActiveRecord::Migration[7.1]
  def change
    create_table :comee_core_additional_services do |t|
      t.references :sales_order,
                   null: false,
                   index: {name: "so_on_ccas_indx"},
                   foreign_key: {to_table: :comee_core_sales_orders}
      t.string :name, null: false
      t.float :quantity, null: false
      t.string :unit, null: false
      t.float :price, null: false
      t.float :total_price, null: false

      t.timestamps
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
comee_core-0.3.21 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.20 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.19 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.18 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.17 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.16 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.15 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.14 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.13 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.12 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.11 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.10 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.9 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.8 db/migrate/20240630122016_create_comee_core_additional_services.rb
comee_core-0.3.7 db/migrate/20240630122016_create_comee_core_additional_services.rb