Fixes of naming and code style

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
m.nabokikh
2020-11-15 22:26:34 +04:00
parent 91de99d57e
commit 06c8ab5aa7
7 changed files with 37 additions and 35 deletions

View File

@@ -176,9 +176,6 @@ var migrations = []migration{
alter table refresh_token
add column token text not null default '';`,
`
alter table refresh_token
add column obsolete_token text default '';`,
`
alter table refresh_token
add column created_at timestamptz not null default '0001-01-01 00:00:00 UTC';`,
`
@@ -277,4 +274,11 @@ var migrations = []migration{
add column code_challenge_method text not null default '';`,
},
},
{
stmts: []string{
`
alter table refresh_token
add column obsolete_token text default '';`,
},
},
}