Update documentation
This commit is contained in:
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export $PSQL_OPTS=
|
export PSQL_OPTS="-h localhost -U root"
|
||||||
export $DB_NAME=
|
export DB_NAME=photowall
|
||||||
|
|||||||
@@ -6,20 +6,20 @@
|
|||||||
|
|
||||||
#### Configuration
|
#### Configuration
|
||||||
All configuration needed is done in .configuration.sh.
|
All configuration needed is done in .configuration.sh.
|
||||||
Note that a
|
|
||||||
[.pgpass](http://www.postgresql.org/docs/9.3/static/libpq-pgpass.html) file will
|
To avoid having to enter password for selected user on each run, just use a
|
||||||
do most of the times as well and therefore configuration is not mandatory.
|
[.pgpass](http://www.postgresql.org/docs/9.3/static/libpq-pgpass.html) file.
|
||||||
|
|
||||||
#### Migration files
|
#### Migration files
|
||||||
The files in the /migrations directory are changes to the scheme, not the full
|
The files in the /migrations directory are changes to the scheme, not the full
|
||||||
scheme.
|
scheme.
|
||||||
|
|
||||||
The naming convention for migration files are:
|
The naming convention for migration files are:
|
||||||
- 000.000
|
- 000.000.sql
|
||||||
- 000.001
|
- 000.001.sql
|
||||||
- 000.002
|
- 000.002.sql
|
||||||
- 000.003
|
- 000.003.sql
|
||||||
- 000.004
|
- 000.004.sql
|
||||||
- ...and so on
|
- ...and so on
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
-- Empty
|
||||||
Reference in New Issue
Block a user