mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-23 12:01:02 +00:00
5 lines
172 B
MySQL
5 lines
172 B
MySQL
|
-- Your SQL goes here
|
||
|
ALTER TABLE users ADD COLUMN role INTEGER NOT NULL DEFAULT 2;
|
||
|
UPDATE users SET role = 0 WHERE is_admin = 't';
|
||
|
ALTER TABLE users DROP COLUMN is_admin;
|