Ver código fonte

teams: refactored db code.

Leonard Gram 6 anos atrás
pai
commit
d1481cac50
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      pkg/services/sqlstore/migrations/team_mig.go

+ 1 - 3
pkg/services/sqlstore/migrations/team_mig.go

@@ -56,8 +56,6 @@ func addTeamMigrations(mg *Migrator) {
 	}))
 
 	mg.AddMigration("Add column permission to team_member table", NewAddColumnMigration(teamMemberV1, &Column{
-		Name:     "permission",
-		Type:     DB_BigInt,
-		Nullable: true,
+		Name: "permission", Type: DB_SmallInt, Nullable: true,
 	}))
 }