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
Currently we have an empty custom.sql file included in the repo, we check if it exists and if so we run it.
Instead, let's make a directory called sql_autoload, which contains a .keep file so that git versions it. Any other file in the directory should be excluded by gitignore. After startup, we'll load each file in sql_autoload.
Files should be loaded in alphabetical order, so one can prefix them with a number to force the execution order. (In theory ls sorts files alphabetically, so it's easy)
The text was updated successfully, but these errors were encountered:
Currently we have an empty
custom.sql
file included in the repo, we check if it exists and if so we run it.Instead, let's make a directory called
sql_autoload
, which contains a .keep file so that git versions it. Any other file in the directory should be excluded bygitignore
. After startup, we'll load each file insql_autoload
.Files should be loaded in alphabetical order, so one can prefix them with a number to force the execution order. (In theory ls sorts files alphabetically, so it's easy)
The text was updated successfully, but these errors were encountered: