Quick and simple PHP gift registry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
phpgiftreg/sql/1.0.x-to-1.1.0.sql

5 lines
205 B

ALTER TABLE users ADD approved bit NOT NULL;
UPDATE users SET approved = 1;
ALTER TABLE users ADD admin bit NOT NULL;
UPDATE users SET admin = 0;
UPDATE users SET admin = 1 WHERE username = 'yournamehere';