diff --git a/db/versions/11013-orangeGerbera/00-firstScript.sql b/db/versions/11013-orangeGerbera/00-firstScript.sql index 37628c1a2..2e8be531f 100644 --- a/db/versions/11013-orangeGerbera/00-firstScript.sql +++ b/db/versions/11013-orangeGerbera/00-firstScript.sql @@ -1,16 +1,4 @@ -- Place your SQL code here ALTER TABLE vn.country CHANGE country name varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL; -CREATE OR REPLACE DEFINER=`root`@`localhost` - SQL SECURITY DEFINER - VIEW `vn2008`.`Paises` -AS SELECT `c`.`id` AS `Id`, - `c`.`name` AS `Pais`, - `c`.`CEE` AS `CEE`, - `c`.`isUeeMember` AS `isUeeMember`, - `c`.`code` AS `Codigo`, - `c`.`currencyFk` AS `Id_Moneda`, - `c`.`geoFk` AS `geoFk`, - `c`.`ibanLength` AS `ibanLength`, - `c`.`hasDailyInvoice` AS `hasDailyInvoice` -FROM `vn`.`country` `c` +ALTER TABLE vn.country ADD COLUMN country VARCHAR(25) AS (name) VIRTUAL;