Revision 1940
Added by Aaron Marcuse-Kubitza almost 13 years ago
Makefile | ||
---|---|---|
169 | 169 |
|
170 | 170 |
db: schemas/vegbien.sql _always |
171 | 171 |
-echo "CREATE USER bien PASSWORD '$(bienPassword)';"|$(psqlAsAdmin) |
172 |
-echo "CREATE DATABASE vegbien OWNER bien ENCODING 'UTF8' \
|
|
173 |
TEMPLATE template0;"|$(psqlAsAdmin)
|
|
172 |
-echo "CREATE DATABASE vegbien WITH OWNER bien TEMPLATE template0 \
|
|
173 |
ENCODING 'UTF8' LC_COLLATE 'en_US.UTF-8' LC_CTYPE 'en_US.UTF-8';"|$(psqlAsAdmin)
|
|
174 | 174 |
<$< bin/db_dump_localize|$(psqlAsBien) |
175 | 175 |
# ignore errors if user or database exists |
176 | 176 |
|
Also available in: Unified diff
main Makefile: VegBIEN DB: db: Set LC_COLLATE and LC_CTYPE explicitly, to make it easier to change them