1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
noalyss_ynh/sources/html/admin/sql/patch/upgrade61.sql

16 lines
434 B
MySQL
Raw Normal View History

2015-09-27 00:35:53 +02:00
begin;
-- View: vw_fiche_def
DROP VIEW vw_fiche_def;
CREATE VIEW vw_fiche_def AS
SELECT jnt_fic_attr.fd_id, jnt_fic_attr.ad_id, attr_def.ad_text,fiche_def.fd_class_base, fiche_def.fd_label, fiche_def.fd_create_account, fiche_def.frd_id
from fiche_def
join jnt_fic_attr USING (fd_id)
JOIN attr_def ON attr_def.ad_id = jnt_fic_attr.ad_id
;
COMMENT ON VIEW vw_fiche_def IS 'all the attributs for card family';
commit;