feat: refs #7039 añadir colum virtual country
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
35f69b8692
commit
b0da193b4a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue