backen: jwt
This commit is contained in:
8
mariadb/data/dms/correspondence_references.TRG
Normal file
8
mariadb/data/dms/correspondence_references.TRG
Normal file
@@ -0,0 +1,8 @@
|
||||
TYPE=TRIGGERS
|
||||
triggers='CREATE DEFINER=`root`@`localhost` TRIGGER trg_correfl_bi_guard_self\nBEFORE INSERT ON correspondence_references\nFOR EACH ROW\nBEGIN\n IF NEW.src_corr_id = NEW.tgt_corr_id THEN\n SIGNAL SQLSTATE \'45000\' SET MESSAGE_TEXT=\'Cannot reference a correspondence to itself\';\n END IF;\nEND' 'CREATE DEFINER=`root`@`localhost` TRIGGER trg_correfl_bu_guard_self\nBEFORE UPDATE ON correspondence_references\nFOR EACH ROW\nBEGIN\n IF NEW.src_corr_id = NEW.tgt_corr_id THEN\n SIGNAL SQLSTATE \'45000\' SET MESSAGE_TEXT=\'Cannot reference a correspondence to itself\';\n END IF;\nEND'
|
||||
sql_modes=1411383296 1411383296
|
||||
definers='root@localhost' 'root@localhost'
|
||||
client_cs_names='utf8mb4' 'utf8mb4'
|
||||
connection_cl_names='utf8mb4_general_ci' 'utf8mb4_general_ci'
|
||||
db_cl_names='utf8mb4_general_ci' 'utf8mb4_general_ci'
|
||||
created=1759220376654188 1759220376770663
|
||||
Reference in New Issue
Block a user