mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
- added changes to database for next version 3.0.0
This commit is contained in:
parent
25b62941b6
commit
804d044f7d
4
UPDATE-v3.0.0/update.sql
Normal file
4
UPDATE-v3.0.0/update.sql
Normal file
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE tblUsers ADD COLUMN role smallint(1) NOT NULL default '0' AFTER isAdmin;
|
||||
UPDATE tblUsers SET role = 1 WHERE isAdmin = 1;
|
||||
UPDATE tblUsers SET role = 2 WHERE id = 2;
|
||||
ALTER TABLE tblUsers DROP COLUMN isAdmin;
|
Loading…
Reference in New Issue
Block a user