14 lines
420 B
SQL
14 lines
420 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
SQL SECURITY DEFINER
|
|
VIEW `vn2008`.`state`
|
|
AS SELECT `s`.`id` AS `id`,
|
|
`s`.`name` AS `name`,
|
|
`s`.`order` AS `order`,
|
|
`s`.`alertLevel` AS `alert_level`,
|
|
`s`.`code` AS `code`,
|
|
`s`.`sectorProdPriority` AS `sectorProdPriority`,
|
|
`s`.`nextStateFk` AS `nextStateFk`,
|
|
`s`.`isPreviousPreparable` AS `isPreviousPreparable`,
|
|
`s`.`isPicked` AS `isPicked`
|
|
FROM `vn`.`state` `s`
|