This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/tables/create_tables
Chris Morgan a651a3cdf3 Modify query_error() to log errors to a database table instead of displaying them on the screen. This should
let us more easily debug difficult or intermittent issues that users may not report. Add a cron to report logged
errors to appdb admins every night.  Implement some basic unit tests for the new error logging code
2006-07-19 16:37:54 +00:00

35 lines
693 B
Bash

#! /bin/sh
echo Creating appdb tables
mysql -p -u root < appdb_tables.sql
echo Creating preferences list
mysql -p -u root < prefs_list.sql
echo Creating user list
mysql -p -u root < user_list.sql
echo Creating user preferences
mysql -p -u root < user_prefs.sql
echo Creating user privileges
mysql -p -u root < user_privs.sql
echo Creating session table
mysql -p -u root < session_list.sql
echo Adding categories
mysql -p -u root < app_category.sql
echo Adding maintainers
mysql -p -u root < maintainers.sql
echo Adding bug links
mysql -p -u root < buglinks.sql
echo Adding monitors
mysql -p -u root < monitors.sql
echo Creating error logging tables
mysql -p -u root < error_log.sql