Closed baron-zeng closed 7 months ago
You're correct to make the changes directly to the schema.sql
file. The way you are loading that into postgres, however, is incorrect. The Dockerfile
specifies how to load the schema into the database. Therefore, when you modify the schema.sql
file, you need to rebuild the image. In order for the newly built image to create a new database, you'll also need to delete the existing volume.
Hello,
After updating my schema.sql file in the pg_normalized_batch, I cannot execute the file.
Currently, I am running this command
And getting this error
Should I have made my updates to the schema.sql directly in psql? Or is there a way to execute my schema.sql as it is (I made the changes in VIM)?