Gitiles
Code Review
Sign In
gerrit.hackerspace.pl
/
hscloud
/
3320155d23b80d72f20cd6fe9d3d2c84ffb39f4a
/
.
/
go
/
mirko
/
tests
/
sql
/
migrations
/
1564669988_three.down.sql
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
;