Procházet zdrojové kódy

Msgs change uiTargetType to enum type

Piotr Labudda před 10 roky
rodič
revize
890a6c8630
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      SE/se-lib/Route/Msgs.php

+ 1 - 1
SE/se-lib/Route/Msgs.php

@@ -226,7 +226,7 @@ SQL_QUERY;
 				, `msg` varchar(1000) NOT NULL
 				, `msgType` enum('info','danger','warning','success') NOT NULL DEFAULT 'info'
 				-- uiTargetType - where to show this msg eg. 'default_db_table', 'after_login', 'everywhere'
-				, `uiTargetType` varchar(255) NOT NULL DEFAULT ''
+				, `uiTargetType` enum('default_db_table','default_db_table_record','after_login','everywhere') NOT NULL
 				-- uiTargetName - eg. database table name (if from default_db)
 				, `uiTargetName` varchar(255) NOT NULL DEFAULT ''
 				-- userTargetType - type of users allowed to see this msg eg. 'everyone', 'admin' (ADMIN_LEVEL=0?), 'user', 'group'