Diff for web-apps/finance-manager/sql/create-sql-dump.sh between version 1.1 and 1.2
| version 1.1, 2004/04/09 09:18:58 |
version 1.2, 2004/04/13 06:49:47 |
|
|
| # 08/04/2004 - created |
# 08/04/2004 - created |
| # |
# |
| |
|
| # $Platon$ |
# $Platon: web-apps/finance-manager/sql/create-sql-dump.sh,v 1.1 2004/04/09 09:18:58 rajo Exp $ |
| |
|
| # |
# |
| # Database tables for finanace-manager needs to be dumped in special order. |
# Database tables for finanace-manager needs to be dumped in special order. |
| Line 38 DROP TABLE IF EXISTS event_type; |
|
| Line 38 DROP TABLE IF EXISTS event_type; |
|
| |
|
| SQL |
SQL |
| |
|
| mysqldump --opt -u "$SQL_USER" -h "$SQL_HOST" "--password=$SQL_PASSWD" "$SQL_DATABASE" \ |
mysqldump --add-drop-table -u "$SQL_USER" -h "$SQL_HOST" "--password=$SQL_PASSWD" "$SQL_DATABASE" \ |
| --tables Source event_type Event Transaction SourceLog EventLog \ |
--tables Source event_type Event Transaction SourceLog EventLog \ |
| >> "$OUTPUT" |
>> "$OUTPUT" |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|