From 4a7cf82f5fe5317bd0bb8e83664918d7101cffde Mon Sep 17 00:00:00 2001 From: Sean Lafferty Date: Fri, 1 Feb 2019 19:45:27 -0500 Subject: [PATCH] Remove length from text columns --- pkg/services/sqlstore/migrations/user_auth_oauth_mig.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/services/sqlstore/migrations/user_auth_oauth_mig.go b/pkg/services/sqlstore/migrations/user_auth_oauth_mig.go index beaf7a29a27..039660f3612 100644 --- a/pkg/services/sqlstore/migrations/user_auth_oauth_mig.go +++ b/pkg/services/sqlstore/migrations/user_auth_oauth_mig.go @@ -6,13 +6,13 @@ func addUserAuthOAuthMigrations(mg *Migrator) { userAuthV2 := Table{Name: "user_auth"} mg.AddMigration("Add OAuth access token to user_auth", NewAddColumnMigration(userAuthV2, &Column{ - Name: "o_auth_access_token", Type: DB_Text, Nullable: true, Length: 255, + Name: "o_auth_access_token", Type: DB_Text, Nullable: true, })) mg.AddMigration("Add OAuth refresh token to user_auth", NewAddColumnMigration(userAuthV2, &Column{ - Name: "o_auth_refresh_token", Type: DB_Text, Nullable: true, Length: 255, + Name: "o_auth_refresh_token", Type: DB_Text, Nullable: true, })) mg.AddMigration("Add OAuth token type to user_auth", NewAddColumnMigration(userAuthV2, &Column{ - Name: "o_auth_token_type", Type: DB_Text, Nullable: true, Length: 255, + Name: "o_auth_token_type", Type: DB_Text, Nullable: true, })) mg.AddMigration("Add OAuth expiry to user_auth", NewAddColumnMigration(userAuthV2, &Column{ Name: "o_auth_expiry", Type: DB_DateTime, Nullable: true,