Open strk opened 4 years ago
Found: src/sql/gazetteer_schema.sql creates the table on line 35, so there seem to be a problem of order in which sql files are loaded by install.sh
The schema.sql file is NOT loaded by install.sh UNLESS the drop
argument is passed. But that file does NOT drop anything anymore (maybe it did in the past, because there's a commented-out line that does a DROP cascade). What about removing the "drop" argument from install.sh ?
Or shall I create a new script, following best practices from the linz-bde-schema-loader and friends ? It would be named linz-gazetteer-schema-loader...
Running
install.sh
from src/sql directory results in this error:Where is
system_code
table or view expected to be created ?\cc @SPlanzer @palmerj