From effd170ee9b6acaccfbc9b65d8cdf7c5c141995a Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 13 Feb 2021 11:29:44 +0100 Subject: [PATCH] Continue to deprecate old movie system --- docs/db_struct.sql | 1 - docs/migration.sql | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/db_struct.sql b/docs/db_struct.sql index b60dd43..bc26fea 100644 --- a/docs/db_struct.sql +++ b/docs/db_struct.sql @@ -212,7 +212,6 @@ CREATE TABLE `texte` ( `group_id` int(11) DEFAULT '0', `niveau_visibilite` varchar(255) NOT NULL DEFAULT '1', `type` varchar(255) NOT NULL DEFAULT 'texte', - `idvideo` int(11) DEFAULT NULL, `size` varchar(255) DEFAULT NULL, `file_type` varchar(255) DEFAULT NULL, `path` varchar(255) DEFAULT NULL, diff --git a/docs/migration.sql b/docs/migration.sql index f549da4..c3e7d2b 100644 --- a/docs/migration.sql +++ b/docs/migration.sql @@ -1,2 +1,2 @@ --- Remove deprecated table -DROP TABLE IF EXISTS `galerie_video`; \ No newline at end of file +-- Remove deprecated columns +ALTER TABLE texte DROP COLUMN idvideo; \ No newline at end of file