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