You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2018. It is now read-only.
Following the instructions in GETTING-STARTED, I ran:
java -jar target/grendel-${VERSION}.jar schema -c grendel.properties > setup-grendel.sql
but the generated SQL starts with:
alter table documents drop foreign key FK_DOCUMENT_TO_OWNER;
alter table links drop foreign key FK_LINK_TO_USER;
alter table links drop foreign key FK_LINK_TO_DOCUMENT;
and since those tables don't exist yet, mysql barfs when you try to run the script.
I've been poking around the source to try to figure out how to fix this, and I'm not seeing how it's being generated. Is Shore doing it?
The text was updated successfully, but these errors were encountered:
Following the instructions in GETTING-STARTED, I ran:
java -jar target/grendel-${VERSION}.jar schema -c grendel.properties > setup-grendel.sql
but the generated SQL starts with:
alter table documents drop foreign key FK_DOCUMENT_TO_OWNER;
alter table links drop foreign key FK_LINK_TO_USER;
alter table links drop foreign key FK_LINK_TO_DOCUMENT;
and since those tables don't exist yet, mysql barfs when you try to run the script.
I've been poking around the source to try to figure out how to fix this, and I'm not seeing how it's being generated. Is Shore doing it?
The text was updated successfully, but these errors were encountered: