Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/sql/dump/make-dump.sh between version 1.7 and 1.8

version 1.7, 2012/04/29 15:51:54 version 1.8, 2012/04/29 16:20:55
Line 17 
Line 17 
 # http://platon.sk/projects/Metafox/  # http://platon.sk/projects/Metafox/
 #  #
   
 # $Platon: Metafox/sql/dump/make-dump.sh,v 1.6 2007-09-22 05:01:25 nepto Exp $  # $Platon: Metafox/sql/dump/make-dump.sh,v 1.7 2012-04-29 15:51:54 nepto Exp $
   
 mysqldump -u metafox -pkofola metafox -d --add-drop-table > mysql.sql  mysqldump -u metafox -pkofola metafox -d --add-drop-table > 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 43  INSERT INTO ezin_authors (id,type,name,e
Line 43  INSERT INTO ezin_authors (id,type,name,e
 -- Default section  -- Default section
 --  --
 INSERT INTO ezin_sections  INSERT INTO ezin_sections
         (id, author_id, type, ord, a_limit,          (id, author_id, ord, a_limit,
           type2, display, \`select\`,
         accesses_count, sessions_count, raw_accesses_count, raw_sessions_count,          accesses_count, sessions_count, raw_accesses_count, raw_sessions_count,
         access_key, template_key, name, link)          access_key, template_key, name, link)
 VALUES  VALUES
         (1,0,'global',100,10,          (1,0,100,10,
           'global','in_list,articles_enabled','articles',
         0,0,0,0,          0,0,0,0,
         'index','','Index','');          'index','','Index','');
 --  --
Line 56  VALUES
Line 58  VALUES
 INSERT INTO ezin_articles  INSERT INTO ezin_articles
         (id, author_id, section_id,          (id, author_id, section_id,
         accesses_count, sessions_count, message_count,          accesses_count, sessions_count, message_count,
         status, datetime, access_key, template_key,          status, display, datetime, access_key, template_key,
         title, atitle, hometext, bodytext)          title, atitle, hometext, bodytext)
 VALUES (1,2,1,  VALUES (1,2,1,
         0,0,0,          0,0,0,
         'showed','2002-09-13 16:23:00','','',          'showed','enabled','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)',
         'Default article body text');          'Default article body text');
   --
   -- Default config
   --
   INSERT INTO ezin_config (a_key,value) VALUES ('name','Metafox Default');
   INSERT INTO ezin_config (a_key,value) VALUES ('abbreviation','dflt');
   INSERT INTO ezin_config (a_key,value) VALUES ('theme','default');
   INSERT INTO ezin_config (a_key,value) VALUES ('url',NULL);
   INSERT INTO ezin_config (a_key,value) VALUES ('redirect_index','S1');
   INSERT INTO ezin_config (a_key,value) VALUES ('redirect_other',NULL);
   INSERT INTO ezin_config (a_key,value) VALUES ('admin_session_timeout',1800);
   
 EOF  EOF
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top