CREATE TRIGGER 'user_after_ins_tr' AFTER INSERT ON 'user' FOR EACH ROW
BEGIN
INSERT INTO user_online (user_id, online) VALUES (NEW.id, true);
INSERT INTO user_log (user_id, action, regData) VALUES (NEW.id, 1, NOW());
END;
Kaydol:
Kayıt Yorumları (Atom)
İnsdroid
Sabahtan beri çatada çutada çatada çutada… Bitmedi yine de… Neyse, yolumuz uzun, toparlıyorum çantamı, adaptörü falan tıkıştırıyorum bir şe...
-
Metasploitable is a kind of vulnerable Linux virtual machine image for penetration testing. It is Debian 32bit based operation system, and r...
-
Why do we need to change status of a request? Let's imagine, you have a workbench request and you already relased linked task in it....
-
Adding mirros: Open the terminal as sudo user and; apt update apt upgrade Mirrors will be added automaticly after above operat...
Hiç yorum yok:
Yorum Gönder