chore: pluralize table names (#463)

This commit is contained in:
Colin Adler
2022-03-17 18:10:46 -05:00
committed by GitHub
parent edd8345658
commit 706e60bb3b
21 changed files with 341 additions and 249 deletions

View File

@ -61,7 +61,7 @@ func New(t *testing.T, options *Options) *codersdk.Client {
t.Cleanup(func() {
_ = sqlDB.Close()
})
err = database.Migrate(sqlDB)
err = database.MigrateUp(sqlDB)
require.NoError(t, err)
db = database.New(sqlDB)