Diff for Metafox/sql/dump/make-dump.sh between version 1.1 and 1.2
| version 1.1, 2005/06/05 12:15:35 |
version 1.2, 2005/06/10 15:22:59 |
|
|
| # http://platon.sk/projects/phpMyEzin/ |
# http://platon.sk/projects/phpMyEzin/ |
| # |
# |
| |
|
| # $Platon: $ |
# $Platon: Metafox/sql/dump/make-dump.sh,v 1.1 2005/06/05 12:15:35 nepto Exp $ |
| |
|
| mysqldump --compatible=mysql323 --add-drop-table -d phpmyezin > mysql.sql |
mysqldump --compatible=mysql323 --add-drop-table -d phpmyezin > mysql.sql |
| grep '^DROP TABLE' mysql.sql | sed 's/^.*\(ezin_[a-z_]\+\).*$/\1/g' > table-list.txt |
grep '^DROP TABLE' mysql.sql | sed 's/^.*\(ezin_[a-z_]\+\).*$/\1/g' > table-list.txt |
| Line 46 INSERT INTO ezin_sections |
|
| Line 46 INSERT INTO ezin_sections |
|
| access_key, template_key, name, link) |
access_key, template_key, name, link) |
| VALUES |
VALUES |
| (1,0,'global',100,10, |
(1,0,'global',100,10, |
| NULL,NULL,NULL,NULL, |
0,0,0,0, |
| 'index','','Index',''); |
'index','','Index',''); |
| -- |
-- |
| -- Default article |
-- Default article |
| Line 57 INSERT INTO ezin_articles |
|
| Line 57 INSERT INTO ezin_articles |
|
| status, datetime, access_key, template_key, |
status, datetime, access_key, template_key, |
| title, atitle, hometext, bodytext) |
title, atitle, hometext, bodytext) |
| VALUES (1,2,1, |
VALUES (1,2,1, |
| NULL,NULL,NULL, |
0,0,0, |
| 'showed','2002-09-13 16:23:00','','', |
'showed','2002-09-13 16:23:00','','', |
| 'Default article title','Default article annotation title', |
'Default article title','Default article annotation title', |
| 'Default article home text (annotation)', |
'Default article home text (annotation)', |
Platon Group <platon@platon.org> http://platon.org/
|
|