Gitiles
Code Review
Sign In
gerrit.hackerspace.pl
/
hscloud
/
6e0041d40199ec64403315ad03b6ac6681ff68c7
/
.
/
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
;