aboutsummaryrefslogtreecommitdiff
path: root/www/howto_psql
diff options
context:
space:
mode:
authorclyhtsuriva <clyhtsuriva@gmail.com>2020-04-19 22:10:42 +0200
committerclyhtsuriva <clyhtsuriva@gmail.com>2020-04-19 22:10:42 +0200
commitf04705827a8426fdd51f876d0ad8ed9352538c18 (patch)
treeb7c4aab28a00ac0925bd0f665c7d650cbb57de01 /www/howto_psql
parente62f449b02a91585d3cb06bf54b09b94094a28e7 (diff)
ajout de ports, centrage tableau, ...
Diffstat (limited to 'www/howto_psql')
-rwxr-xr-xwww/howto_psql3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/howto_psql b/www/howto_psql
index 7d5adfc..67f1940 100755
--- a/www/howto_psql
+++ b/www/howto_psql
@@ -33,3 +33,6 @@ psql -d atsdb -U atsuser
#initialize the tables
\i /WHATEVER_PATH_YOUR_INIT_IS_IN/ATS-Project/website/init-bd.sql
+
+#quick insert
+insert into paquet(heure,protocole,ip_source,ip_destination,port_source,port_destination) values ('10:30:30.60','ICMP','192.168.0.1','1.1.1.1',10000,1);