2 -- DONE - CASCADE ON DELETE of orders related tables
3 -- DONE - STATUS on orders
5 DROP TABLE IF EXISTS #PFX#users;
6 CREATE TABLE #PFX#users (
7 code SERIAL PRIMARY KEY,
12 tsusp timestamp DEFAULT to_timestamp(0), -- disable timeout
13 mtime timestamp DEFAULT to_timestamp(0) -- last access
16 DROP TABLE IF EXISTS #PFX#groups;
17 CREATE TABLE #PFX#groups (
18 code SERIAL PRIMARY KEY,