Skip to content

Commit

Permalink
updated schema. combined schema into schema.sql
Browse files Browse the repository at this point in the history
svn path=/trunk/boinc/; revision=1783
  • Loading branch information
Karl Chen committed Jul 24, 2003
1 parent 6322190 commit 1d09e8d
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 208 deletions.
10 changes: 6 additions & 4 deletions db/init_db
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#! /bin/tcsh
#!/bin/sh

sed -e s/BOINC_DB_NAME/$BOINC_DB_NAME/g drop.sql | mysql
sed -e s/BOINC_DB_NAME/$BOINC_DB_NAME/g schema.sql | mysql
sed -e s/BOINC_DB_NAME/$BOINC_DB_NAME/g constraints.sql | mysql
if [ -z "$1" ]; then
echo "syntax: $0 DB_NAME"
exit 1
fi

mysql $1 < schema.sql
Loading

0 comments on commit 1d09e8d

Please sign in to comment.