/[webpac2]/trunk/sql/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/sql/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (show annotations)
Sat Jul 23 18:39:44 2005 UTC (18 years, 9 months ago) by dpavlin
File size: 205 byte(s)
added primary keys

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
9 save:
10 pg_dump -c $(db) > $(db).sql
11
12 load:
13 psql $(db) < $(db).sql

  ViewVC Help
Powered by ViewVC 1.1.26