woodpecker/pkg/database
Nurahmadie 8ce87f0d2c More tests for alter columns migration
Also change the way we handle columns rename migration.
SQLite restrict column addition not to have PRIMARY KEY and/or
UNIQUE attribute, so we have to change from:

add new column -> migrate data from old column to new column ->
rename old table -> create new table with old columns removed ->
migrate data from old table to the new table -> drop old table

to directly:
rename old table -> create new table with renamed columns ->
migrate data from old table to the new table -> drop old table
2014-02-16 00:56:17 +07:00
..
encrypt initial public commit 2014-02-07 03:10:01 -07:00
migrate More tests for alter columns migration 2014-02-16 00:56:17 +07:00
schema initial public commit 2014-02-07 03:10:01 -07:00
testing partial fix to issue #50 and issue #37 to select token from database 2014-02-11 16:05:53 -07:00
builds.go initial public commit 2014-02-07 03:10:01 -07:00
commits.go initial public commit 2014-02-07 03:10:01 -07:00
database.go initial public commit 2014-02-07 03:10:01 -07:00
members.go initial public commit 2014-02-07 03:10:01 -07:00
repos.go initial public commit 2014-02-07 03:10:01 -07:00
settings.go initial public commit 2014-02-07 03:10:01 -07:00
teams.go initial public commit 2014-02-07 03:10:01 -07:00
users.go partial fix to issue #50 and issue #37 to select token from database 2014-02-11 16:05:53 -07:00