/[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

Annotation of /trunk/sql/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


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

1 dpavlin 24 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