root/trunk/wifidog-auth/sql/sync_sql_for_cvs.sh @ 223

Revision 223, 281 bytes (checked in by benoitg, 9 years ago)

2004-08-31 Benoit Gr�goire <bock@…>

  • sql/: Update the postgres schemas and add scripts to ease maintaining it.
  • sql/sync_sql_for_cvs.sh: Should you modify the schema in your db, run this script to the chances will be available in the cvs schemas and initial data.
  • sql/dump_initial_data_postgres.sh: This does the actual dump of the data in a runnable form. Note that this needs to be edited manually if you add a new table requiring initial data.
  • INSTALL: Update for postgres. Somebody please test this.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
RevLine 
[223]1#!/bin/sh
2echo "Note:  This script must be run as the wifidog local user"
3sh dump_initial_data_postgres.sh > wifidog-postgres-initial-data.sql
4chmod a+r wifidog-postgres-initial-data.sql
5sh dump_schema_postgres.sh > wifidog-postgres-schema.sql
6chmod a+r wifidog-postgres-schema.sql
Note: See TracBrowser for help on using the browser.