Sha256: 0c6d516b14ad76c817921fff937397004ea0d50fe6fc2986c94c90860b7480ab

Contents?: true

Size: 444 Bytes

Versions: 65

Compression:

Stored size: 444 Bytes

Contents

class CreateComeeCoreReorderReports < ActiveRecord::Migration[7.1]
  def change
    create_table :comee_core_reorder_reports do |t|
      t.string :reference_number
      t.date :report_date, null: false, default: Date.current
      t.references :store,
                   null: false,
                   index: {name: "store_on_ccrr_index"},
                   foreign_key: {to_table: :comee_core_stores}

      t.timestamps
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
comee_core-0.3.62 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.61 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.60 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.59 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.58 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.57 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.56 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.55 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.54 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.53 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.51 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.50 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.49 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.48 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.47 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.46 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.45 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.44 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.43 db/migrate/20240401192505_create_comee_core_reorder_reports.rb
comee_core-0.3.42 db/migrate/20240401192505_create_comee_core_reorder_reports.rb