Bump version to 0.3.1
[public/pyceo-broken.git] / sql / initialize.sh
1 #!/bin/sh
2 # Initializes a database for CEO.
3
4 # initialize the database
5 createdb $1
6 createlang plpythonu $1
7
8 # initialize the tables
9 psql $1 < structure.sql
10
11 # initialize check triggers
12 psql $1 < verify_studentid.sql
13 psql $1 < verify_term.sql