mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 20:39:13 +02:00
Add more drop tables, fix nexid def in mysql newtables
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
$phpgw_setup->db->query("DROP TABLE phpgw_addressbook");
|
||||
$phpgw_setup->db->query("DROP TABLE phpgw_addressbook_extra");
|
||||
$phpgw_setup->db->query("DROP TABLE todo");
|
||||
$phpgw_setup->db->query("DROP TABLE phpgw_todo");
|
||||
$phpgw_setup->db->query("DROP TABLE calendar_entry");
|
||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_repeats");
|
||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_user");
|
||||
@@ -34,6 +35,8 @@
|
||||
$phpgw_setup->db->query("DROP TABLE languages");
|
||||
$phpgw_setup->db->query("DROP TABLE customers");
|
||||
$phpgw_setup->db->query("DROP TABLE notes");
|
||||
$phpgw_setup->db->query("DROP TABLE phpgw_notes");
|
||||
$phpgw_setup->db->query("DROP TABLE phpgw_nextid");
|
||||
|
||||
/* Legacy tables */
|
||||
|
||||
|
@@ -342,7 +342,7 @@
|
||||
$phpgw_setup->db->query($sql);
|
||||
|
||||
$sql = "create table phpgw_nextid (
|
||||
appname varchar(25),
|
||||
appname varchar(25) NOT NULL,
|
||||
id int(8),
|
||||
UNIQUE (appname)
|
||||
)";
|
||||
|
@@ -32,6 +32,7 @@
|
||||
$phpgw_setup->db->query("drop sequence calendar_entry_cal_id_seq");
|
||||
$phpgw_setup->db->query("drop sequence todo_todo_id_seq");
|
||||
$phpgw_setup->db->query("DROP TABLE todo");
|
||||
$phpgw_setup->db->query("DROP TABLE phpgw_todo");
|
||||
$phpgw_setup->db->query("DROP TABLE calendar_entry");
|
||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_user");
|
||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_repeats");
|
||||
|
Reference in New Issue
Block a user