diff --git a/lib/Alchemy/Phrasea/Core/Version.php b/lib/Alchemy/Phrasea/Core/Version.php
index bd4bf283d1..bb6bf129da 100644
--- a/lib/Alchemy/Phrasea/Core/Version.php
+++ b/lib/Alchemy/Phrasea/Core/Version.php
@@ -16,7 +16,7 @@ class Version
/**
* @var string
*/
- private $number = '4.0.0-alpha.8';
+ private $number = '4.0.0-alpha.9';
/**
* @var string
diff --git a/lib/classes/patch/400alpha9a.php b/lib/classes/patch/400alpha9a.php
new file mode 100644
index 0000000000..3a193a9e73
--- /dev/null
+++ b/lib/classes/patch/400alpha9a.php
@@ -0,0 +1,65 @@
+release;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getDoctrineMigrations()
+ {
+ return [];
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function require_all_upgrades()
+ {
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function concern()
+ {
+ return $this->concern;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function apply(base $databox, Application $app)
+ {
+ $sql = "DROP TABLE IF EXISTS task2, `order`, order_elements, ftp_export, ftp_export_elements, cache, registry";
+ $stmt = $databox->get_connection()->prepare($sql);
+ $stmt->execute();
+
+ return true;
+ }
+}
diff --git a/lib/classes/patch/400alpha9b.php b/lib/classes/patch/400alpha9b.php
new file mode 100644
index 0000000000..48e9ccb3b5
--- /dev/null
+++ b/lib/classes/patch/400alpha9b.php
@@ -0,0 +1,65 @@
+release;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getDoctrineMigrations()
+ {
+ return [];
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function require_all_upgrades()
+ {
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function concern()
+ {
+ return $this->concern;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function apply(base $databox, Application $app)
+ {
+ $sql = "DROP TABLE IF EXISTS emptyw, idx, kword, prop, thit, uids, xpath";
+ $stmt = $databox->get_connection()->prepare($sql);
+ $stmt->execute();
+
+ return true;
+ }
+}
diff --git a/lib/conf.d/bases_structure.xml b/lib/conf.d/bases_structure.xml
index dfe17f3fe7..a0bfe1138c 100644
--- a/lib/conf.d/bases_structure.xml
+++ b/lib/conf.d/bases_structure.xml
@@ -831,158 +831,6 @@
InnoDB
-
-
-
- session_id
- int(11) unsigned
-
- auto_increment
-
-
-
-
- usr_id
- int(11) unsigned
-
-
-
-
-
-
- nact
- int(11) unsigned
-
-
- 0
-
-
-
- created_on
- timestamp
-
-
- CURRENT_TIMESTAMP
-
-
-
- lastaccess
- datetime
-
-
- 0000-00-00 00:00:00
-
-
-
- session
- longblob
-
-
-
-
-
-
- query
- varchar(128)
-
-
-
-
-
-
- query_time
- DATETIME
-
-
-
-
-
-
- duration
- float
-
-
-
-
-
-
- total
- int(11) unsigned
-
-
-
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- session_id
-
-
-
- InnoDB
-
-
-
-
-
- id
- int(11) unsigned
-
- auto_increment
-
-
-
-
- key
- char(32)
-
-
-
-
- ascii_bin
-
-
- value
- varchar(1024)
-
-
-
-
-
-
- type
- enum('string','boolean','array','integer','text','binary','timezone','enum_multi','enum')
-
-
- string
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- id
-
-
-
- UNIQUE
- UNIQUE
-
- key
-
-
-
- InnoDB
-
-
-
-
@@ -1797,125 +1645,6 @@
InnoDB
-
-
-
- task_id
- int(11) unsigned
-
- auto_increment
-
-
-
-
- usr_id_owner
- int(11) unsigned
-
-
- 0
-
-
-
- pid
- int(11) unsigned
- YES
-
-
-
-
-
- status
- enum('stopped','started','starting','stopping','tostart','tostop','manual','torestart')
-
-
- stopped
-
- ascii_bin
-
-
- crashed
- int(2) unsigned
-
-
- 0
-
-
-
- active
- int(1) unsigned
-
-
- 0
-
-
-
- name
- varchar(100)
-
-
-
-
-
-
- last_exec_time
- datetime
-
-
- 0000-00-00 00:00:00
-
-
-
- class
- varchar(100)
-
-
-
-
-
-
- settings
- text
-
-
-
-
-
-
- todo
- int(11)
-
-
- 0
-
-
-
- done
- int(11)
-
-
- 0
-
-
-
- runner
- char(20)
-
-
- -1
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- task_id
-
-
-
- InnoDB
-
@@ -2103,36 +1832,6 @@
InnoDB
-
-
-
- emptyw_id
- int(11) unsigned
-
-
- 0
-
-
-
- word
- varchar(64)
-
-
-
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- emptyw_id
-
-
-
- InnoDB
-
@@ -2447,168 +2146,6 @@
InnoDB
-
-
-
- idx_id
- bigint(20) unsigned
-
- auto_increment
-
-
-
-
- c2
- char(2)
-
-
-
-
-
-
- record_id
- int(11) unsigned
-
-
- 0
-
-
-
- kword_id
- int(11) unsigned
-
-
- 0
-
-
-
- iw
- int(6)
-
-
- 0
-
-
-
- xpath_id
- int(11) unsigned
-
-
- 0
-
-
-
- hit
- varchar(14)
-
-
-
-
-
-
- hitstart
- int(10) unsigned
-
-
- 0
-
-
-
- hitlen
- smallint(5) unsigned
-
-
- 0
-
-
-
- business
- tinyint(1) unsigned
-
-
- 0
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- idx_id
-
-
-
- record_id
- INDEX
-
- record_id
-
-
-
- kword_id
- INDEX
-
- kword_id
-
-
-
- InnoDB
-
-
-
-
- kword_id
- int(11) unsigned
-
-
- 0
-
-
-
- k2
- char(2)
-
-
-
-
-
-
- keyword
- char(64)
-
-
-
-
-
-
- lng
- char(4)
-
-
-
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- kword_id
-
-
-
- keyword
- UNIQUE
-
- keyword
- lng
-
-
-
- InnoDB
-
@@ -3506,112 +3043,6 @@
InnoDB
-
-
-
-
- prop_id
- int(11) unsigned
-
- auto_increment
-
-
-
-
-
-
- record_id
- int(11) unsigned
-
-
-
-
- 0
-
-
-
- xpath_id
- int(11) unsigned
-
-
-
-
- 0
-
-
-
- name
-
- char(32)
-
-
-
-
-
- ascii_general_ci
-
-
-
- value
- char(100)
-
-
-
-
-
-
-
-
- type
- tinyint(1) unsigned
-
-
-
- 0
-
-
-
-
- business
- tinyint(1) unsigned
-
-
- 0
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- prop_id
-
-
-
- xpath_id
- INDEX
-
- xpath_id
-
-
-
- record_id
- INDEX
-
- record_id
-
-
-
- name
- INDEX
-
- name
-
-
-
- InnoDB
-
@@ -4205,227 +3636,6 @@
InnoDB
-
-
-
-
-
-
-
-
-
-
-
-
- thit_id
-
- int(11) unsigned
-
- auto_increment
-
-
-
-
-
-
- record_id
- int(11) unsigned
-
-
-
- 0
-
-
-
-
- xpath_id
- int(11) unsigned
-
-
-
-
- 0
-
-
-
- name
- char(32)
-
-
-
-
-
-
- ascii_general_ci
-
-
- value
- char(100)
-
-
-
-
-
-
- ascii_bin
-
-
- hitstart
-
- int(10) unsigned
-
-
-
- 0
-
-
-
-
- hitlen
- smallint(5) unsigned
-
-
-
- 0
-
-
-
-
- business
- tinyint(1) unsigned
-
-
- 0
-
-
-
-
-
-
- PRIMARY
- PRIMARY
-
- thit_id
-
-
-
- value
- INDEX
-
- value
-
-
-
- name
- INDEX
-
- name
-
-
-
- xpath_id
- INDEX
-
- xpath_id
-
-
-
- record_id
- INDEX
-
- record_id
-
-
-
- InnoDB
-
-
-
-
- uid
- int(11) unsigned
-
-
-
-
- 1
-
-
-
- name
-
- char(16)
-
-
-
-
-
-
-
-
-
- 1
- XPATH
-
-
- 1
- KEYWORDS
-
-
-
-
- PRIMARY
- PRIMARY
-
- name
-
-
-
- InnoDB
-
-
-
-
- xpath_id
- int(11) unsigned
-
-
-
-
- 0
-
-
-
- xpath
- char(150)
-
-
-
-
-
-
- ascii_general_ci
-
-
-
-
- PRIMARY
- PRIMARY
-
- xpath_id
-
-
-
- xpath
- UNIQUE
-
- xpath
-
-
-
- InnoDB
-
-