Permalink
Browse files

Overlooked the inclusion of the database_setup script. Adding it in.

- mhoye
  • Loading branch information...
mhoye committed Aug 30, 2012
1 parent bdf947b commit 7da11680b9cc22001cf42c78c305f92dbf7fb07c
Showing with 15 additions and 0 deletions.
  1. +15 −0 application/config/schema-mysql/database_setup.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+echo
+echo This script naively sends setup.sql and current.sql into mysql,
+echo setting up database \(besds\) a user, \(besds_admin\) and populating
+echo the DB with all the necessary data.
+echo
+echo If you have any qualms about this, hit control-C now to exit.
+echo Press any other key to continue.
+echo
+read x
+
+mysql < setup.sql
+mysql < current.sql
+

0 comments on commit 7da1168

Please sign in to comment.