|
|
@@ -238,6 +238,8 @@ var migrations = []Migration{ |
|
|
NewMigration("change length of some repository columns", changeSomeColumnsLengthOfRepo), |
|
|
NewMigration("change length of some repository columns", changeSomeColumnsLengthOfRepo), |
|
|
// v91 -> v92 |
|
|
// v91 -> v92 |
|
|
NewMigration("add index on owner_id of repository and type, review_id of comment", addIndexOnRepositoryAndComment), |
|
|
NewMigration("add index on owner_id of repository and type, review_id of comment", addIndexOnRepositoryAndComment), |
|
|
|
|
|
// v92 -> v93 |
|
|
|
|
|
NewMigration("remove orphaned repository index statuses", removeLingeringIndexStatus), |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Migrate database to current version |
|
|
// Migrate database to current version |
|
|
|