diff --git a/core/database/mysql/3.2.20.sql b/core/database/mysql/3.4.0.sql similarity index 99% rename from core/database/mysql/3.2.20.sql rename to core/database/mysql/3.4.0.sql index 30cad734c..ba91079fc 100644 --- a/core/database/mysql/3.2.20.sql +++ b/core/database/mysql/3.4.0.sql @@ -1,6 +1,6 @@ -- Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. --- MySQL core database, version 3.2.20 +-- MySQL core database, version 3.4.0 CREATE TABLE IF NOT EXISTS `activedownload` ( `activedownload_id` bigint(20) NOT NULL AUTO_INCREMENT, diff --git a/core/database/pgsql/3.2.20.sql b/core/database/pgsql/3.4.0.sql similarity index 99% rename from core/database/pgsql/3.2.20.sql rename to core/database/pgsql/3.4.0.sql index 86257b8d7..f19f7f058 100644 --- a/core/database/pgsql/3.2.20.sql +++ b/core/database/pgsql/3.4.0.sql @@ -1,6 +1,6 @@ -- Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. --- PostgreSQL core database, version 3.2.20 +-- PostgreSQL core database, version 3.4.0 SET client_encoding = 'UTF8'; SET default_with_oids = FALSE; diff --git a/core/database/sqlite/3.2.20.sql b/core/database/sqlite/3.4.0.sql similarity index 99% rename from core/database/sqlite/3.2.20.sql rename to core/database/sqlite/3.4.0.sql index eec55cc64..ae3105114 100644 --- a/core/database/sqlite/3.2.20.sql +++ b/core/database/sqlite/3.4.0.sql @@ -1,6 +1,6 @@ -- Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. --- SQLite core database, version 3.2.20 +-- SQLite core database, version 3.4.0 CREATE TABLE IF NOT EXISTS "activedownload" ( "activedownload_id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, diff --git a/core/database/upgrade/3.2.20.php b/core/database/upgrade/3.2.20.php index af6c70ff5..3695c29d8 100644 --- a/core/database/upgrade/3.2.20.php +++ b/core/database/upgrade/3.2.20.php @@ -43,4 +43,3 @@ public function pgsql() $this->db->query("ALTER TABLE userapi ALTER apikey TYPE character varying(64);"); } } - diff --git a/core/database/upgrade/3.4.0.php b/core/database/upgrade/3.4.0.php new file mode 100644 index 000000000..18eff088a --- /dev/null +++ b/core/database/upgrade/3.4.0.php @@ -0,0 +1,24 @@ +