-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First draft for improving quickstart
Co-authored-by: samuelhamard <samuel.hamard@people-doc.com>
- Loading branch information
1 parent
1e98054
commit 691a7de
Showing
4 changed files
with
300 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Configure database connection settings | ||
-------------------------------------- | ||
|
||
Ensure that your database connection settings are correctly configured. | ||
|
||
- Either your environment variables `PGHOST`, `PGPORT` and `PGUSER` are properly set. | ||
- Or you can set the environment variables `SEPTENTRION_HOST`, `SEPTENTRION_PORT`, `SEPTENTRION_USERNAME`. | ||
- configuration file `septentrion.ini` | ||
- If you don't want to use environment variables, you can use the `--host`, `--port` or `--username` options | ||
when running the migration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
File naming convention | ||
---------------------- | ||
|
||
We recommend to use the following naming convention for migration files: | ||
|
||
.. code-block:: console | ||
[VERSION]-[MIGRATION]-[ORDER]-[TYPE].sql | ||
- version : the release version | ||
- migration : a free name for the migration | ||
- order : a number used to order the files inside the migration | ||
- type : ddl or dml, ddl if the file contains schema migration, dml if the file contains data migration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters