use educa7ls_plataforma;

alter table registroGIE
    add personaId int;
alter table registroGIE
    add cursoGIEId int;

alter table registroGIE
    add constraint registroGIE___fk_personaId
        foreign key (personaId) references personaGIE (id);

alter table registroGIE
    add constraint registroGIE___fk_cursoGIEId
        foreign key (cursoGIEId) references cursosGIE (id);
