refactorization to manage old rules with a separated class
[brisk.git] / sql / sql.d / 085-tourn-update.sql
1 --  from:
2 --    INSERT INTO #PFX#bin5_tournaments (code, active, name) VALUES (1, 1, 'normal match');
3 --    INSERT INTO #PFX#bin5_tournaments (code, active, name) VALUES (2, 1, 'special match');
4
5 UPDATE #PFX#bin5_tournaments SET (name) = ('old rules: with draw') WHERE code = 1;
6 UPDATE #PFX#bin5_tournaments SET (name) = ('new rules: without draw') WHERE code = 2;
7 INSERT INTO #PFX#bin5_tournaments (code, active, name) VALUES (3, 1, 'special match');