root/modules/branches/2.3/announcement/uninstall.php

Revision 3785, 43 bytes (checked in by p_lindheimer, 5 years ago)

Merged revisions 3780,3782-3784 via svnmerge from
https://amportal.svn.sourceforge.net/svnroot/amportal/modules/branches/2.2

........

r3780 | diego_iastrubni | 2007-02-12 08:26:47 -0800 (Mon, 12 Feb 2007) | 8 lines


sqlite3 support: the install.sql was broken on sqlite3


mysql and sqlite definitions conflicts, but the syntax found on sqlite3 works on mysql5. for more details see:

http://sqlite.org/lang_createtable.html
http://dev.mysql.com/doc/refman/5.0/en/create-table.html

........

r3783 | p_lindheimer | 2007-02-12 10:05:38 -0800 (Mon, 12 Feb 2007) | 1 line


change field repeat to repeat_msg to deal with mysql5 errors, and accomodate sqlite which does not like AUTO_INCREMENT by making install.sql blank and putting the sql install into install.php where it can accomodate different engines, and added uninstall.php script

........

r3784 | p_lindheimer | 2007-02-12 10:14:55 -0800 (Mon, 12 Feb 2007) | 1 line


oops forgot to actually execute the create table query, now done

........

Line 
1 <?php
2
3 sql('DROP TABLE announcement');
4
5 ?>
Note: See TracBrowser for help on using the browser.