Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre Metafox/sql/dump/make-dump.sh medzi verziami 1.7 a 1.8

verzia 1.7, 2012/04/29 15:51:54 verzia 1.8, 2012/04/29 16:20:55
Riadok 17 
Riadok 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
Riadok 43  INSERT INTO ezin_authors (id,type,name,e
Riadok 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','');
 --  --
Riadok 56  VALUES
Riadok 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:
Odstranené z verzie1.7  
zmenené riadky
  Pridané vo verzii1.8

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok