severity_local: 'ERROR',
severity: 'ERROR',
code: '42804',
detail: 'Key columns "dishID" and "id" are of incompatible types: integer and text.',
where: 'SQL statement "ALTER TABLE "topping_dish" ADD CONSTRAINT "topping_dish_dishID_dish_id_fk" FOREIGN KEY ("dishID") REFERENCES "public"."dish"("id") ON DELETE cascade ON UPDATE no action"\n' +
'PL/pgSQL function inline_code_block line 2 at SQL statement',
file: 'tablecmds.c',
line: '9339',
routine: 'ATAddForeignKeyConstraint'
severity_local: 'ERROR',
severity: 'ERROR',
code: '42804',
detail: 'Key columns "dishID" and "id" are of incompatible types: integer and text.',
where: 'SQL statement "ALTER TABLE "topping_dish" ADD CONSTRAINT "topping_dish_dishID_dish_id_fk" FOREIGN KEY ("dishID") REFERENCES "public"."dish"("id") ON DELETE cascade ON UPDATE no action"\n' +
'PL/pgSQL function inline_code_block line 2 at SQL statement',
file: 'tablecmds.c',
line: '9339',
routine: 'ATAddForeignKeyConstraint'