0
I get the error message:
SQL Error [42703]: ERROR: column "tela_inicial_id" referenced in Foreign key Constraint does not exist ERROR: column "tela_initial_id" referenced in Foreign key Constraint does not exist ERROR: column "tela_inil_id" referenced in Foreign key Constraint does not exist
Script table start_screen:
-- criar TelaInicial
create table tela_inicial (
id int8 not null,
tela_inicial_id int8 not null,
nome_menu varchar(255),
menu_url varchar(255),
primary key (id)
);
create sequence tela_inicial_id_seq;
-- chave estrangeira para usuario e tela inicial
ALTER TABLE usuario ADD CONSTRAINT fk_tela_inicial_id FOREIGN KEY (tela_inicial_id) REFERENCES tela_inicial (id);
In your table 'user' is there this column 'tela_inicial_id'? If not, this is the problem that is being logged in.
– João Vitor Almeida