]> ruin.nu Git - ndwebbie.git/blob - database/fractional_points.sql
6c9b4890d3e5033519c51b7791f775f3731962a1
[ndwebbie.git] / database / fractional_points.sql
1 ALTER TABLE users ALTER COLUMN defense_points TYPE NUMERIC(4,1);
2 ALTER TABLE users ALTER COLUMN attack_points TYPE NUMERIC(3,0);
3 UPDATE users set humor_points = -100 where humor_points < -100;
4 ALTER TABLE users ALTER COLUMN humor_points TYPE NUMERIC(3,0);
5 ALTER TABLE users ALTER COLUMN scan_points TYPE NUMERIC(5,0);