projects
/
webpac2
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
small improvements
[webpac2]
/
sql
/
Makefile
1
db=webpac2
2
3
init:
4
dropdb $(db) || true
5
createdb $(db)
6
./mkindex.pl schema.sql | psql $(db)
7
#test -f data.sql && psql $(db) < data.sql
8
./pgbits.pl
9
10
save:
11
pg_dump -c $(db) > $(db).sql
12
13
load:
14
psql $(db) < $(db).sql