Correções para funcionamento do login adm
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class CreateConsolidacaoEntregas < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :consolidacao_entregas do |t|
|
||||
t.references :consolidacao, null: false, foreign_key: true
|
||||
t.references :consolidacao, null: false, foreign_key: { to_table: :consolidacoes }
|
||||
t.string :tracking_id, null: false # FK lógico para db_reem_simplerout_2026
|
||||
t.string :motorista_nome, null: false
|
||||
t.integer :tipo, null: false, default: 0
|
||||
|
||||
Reference in New Issue
Block a user