mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Add more drop tables, fix nexid def in mysql newtables
This commit is contained in:
parent
0e9d37f2df
commit
df039e8c74
@ -25,6 +25,7 @@
|
|||||||
$phpgw_setup->db->query("DROP TABLE phpgw_addressbook");
|
$phpgw_setup->db->query("DROP TABLE phpgw_addressbook");
|
||||||
$phpgw_setup->db->query("DROP TABLE phpgw_addressbook_extra");
|
$phpgw_setup->db->query("DROP TABLE phpgw_addressbook_extra");
|
||||||
$phpgw_setup->db->query("DROP TABLE todo");
|
$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");
|
||||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_repeats");
|
$phpgw_setup->db->query("DROP TABLE calendar_entry_repeats");
|
||||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_user");
|
$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 languages");
|
||||||
$phpgw_setup->db->query("DROP TABLE customers");
|
$phpgw_setup->db->query("DROP TABLE customers");
|
||||||
$phpgw_setup->db->query("DROP TABLE notes");
|
$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 */
|
/* Legacy tables */
|
||||||
|
|
||||||
@ -42,4 +45,4 @@
|
|||||||
$phpgw_setup->db->query("DROP TABLE groups");
|
$phpgw_setup->db->query("DROP TABLE groups");
|
||||||
$phpgw_setup->db->query("DROP TABLE accounts");
|
$phpgw_setup->db->query("DROP TABLE accounts");
|
||||||
$phpgw_setup->db->query("DROP TABLE preferences");
|
$phpgw_setup->db->query("DROP TABLE preferences");
|
||||||
?>
|
?>
|
||||||
|
@ -342,7 +342,7 @@
|
|||||||
$phpgw_setup->db->query($sql);
|
$phpgw_setup->db->query($sql);
|
||||||
|
|
||||||
$sql = "create table phpgw_nextid (
|
$sql = "create table phpgw_nextid (
|
||||||
appname varchar(25),
|
appname varchar(25) NOT NULL,
|
||||||
id int(8),
|
id int(8),
|
||||||
UNIQUE (appname)
|
UNIQUE (appname)
|
||||||
)";
|
)";
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
$phpgw_setup->db->query("drop sequence calendar_entry_cal_id_seq");
|
$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 sequence todo_todo_id_seq");
|
||||||
$phpgw_setup->db->query("DROP TABLE todo");
|
$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");
|
||||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_user");
|
$phpgw_setup->db->query("DROP TABLE calendar_entry_user");
|
||||||
$phpgw_setup->db->query("DROP TABLE calendar_entry_repeats");
|
$phpgw_setup->db->query("DROP TABLE calendar_entry_repeats");
|
||||||
|
Loading…
Reference in New Issue
Block a user