increment game and match counter at the end of a game
[brisk.git] / sql / sql.d / 065-user-guarant-constraint.sql
1 ALTER TABLE #PFX#users DROP CONSTRAINT #PFX#users_guar_code_fkey;
2 ALTER TABLE #PFX#users ADD CONSTRAINT #PFX#users_guar_code_fkey FOREIGN KEY (guar_code) REFERENCES #PFX#users(code) MATCH FULL;
3
4 ALTER TABLE #PFX#users ALTER COLUMN guar_code DROP DEFAULT; --MF