diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-09-10 10:17:43 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-09-10 14:52:01 +0200 |
commit | ad61ab775d9cc36aac2694bc5e47017386f1e7db (patch) | |
tree | a3416254eba318a8a7c8b5bdcee48b314a4f2575 /admin/Database/ogAdmBD.sql | |
parent | a3aa3e336bbe706c92195cb08bc34c4821798642 (diff) |
#1004 Add new fields to imagenes table
Extend database to store new fields that contain information about "clonator",
"compressor", "filesystem" and "datasize".
This patch also creates a /tmp/image.info file that is consumed by ogClient.
Diffstat (limited to 'admin/Database/ogAdmBD.sql')
-rw-r--r-- | admin/Database/ogAdmBD.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/Database/ogAdmBD.sql b/admin/Database/ogAdmBD.sql index cc5d001b..8264a696 100644 --- a/admin/Database/ogAdmBD.sql +++ b/admin/Database/ogAdmBD.sql @@ -447,6 +447,10 @@ CREATE TABLE `imagenes` ( `ruta` varchar(250) NULL, `fechacreacion` datetime DEFAULT NULL, `inremotepc` tinyint NOT NULL DEFAULT 0, + `clonator` varchar(100) NOT NULL DEFAULT '', + `compressor` varchar(100) NOT NULL DEFAULT '', + `filesystem` varchar(100) NOT NULL DEFAULT '', + `datasize` bigint NOT NULL DEFAULT 0, PRIMARY KEY (`idimagen`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |