blob: 345612e3570a3993e78244c10eac006c4cd91c9c [file] [log] [blame]
ALTER TABLE users RENAME TO users_old;
CREATE TABLE users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
username STRING
);
INSERT INTO users (username) SELECT (username) FROM users_old;
DROP TABLE users_old;