davical/dba/create-database.sh
Andrew McMillan db963fadf6 Now supports user create, view & edit with role assignment. Also starts to
support the PROPFIND request that Mulberry makes but does not fully support
Mulberry yet (their timezones are non-standard).
2006-09-27 09:53:34 +12:00

17 lines
266 B
Bash
Executable File

#!/bin/sh
#
# Build the RSCDS database
#
DBNAME="${1:-rscds}"
DBADIR="`dirname \"$0\"`"
createdb -E UTF8 "${DBNAME}"
psql -f "${DBADIR}/rscds.sql" "${DBNAME}"
psql -f "${DBADIR}/caldav_functions.sql" "${DBNAME}"
psql -f "${DBADIR}/sample-data.sql" "${DBNAME}"