fix: reduced team name column length, fixes #10244

This commit is contained in:
Torkel Ödegaard 2017-12-18 13:38:29 +01:00
parent 71658d1e76
commit 51ec64f872

View File

@ -7,7 +7,7 @@ func addTeamMigrations(mg *Migrator) {
Name: "team",
Columns: []*Column{
{Name: "id", Type: DB_BigInt, IsPrimaryKey: true, IsAutoIncrement: true},
{Name: "name", Type: DB_NVarchar, Length: 255, Nullable: false},
{Name: "name", Type: DB_NVarchar, Length: 190, Nullable: false},
{Name: "org_id", Type: DB_BigInt},
{Name: "created", Type: DB_DateTime, Nullable: false},
{Name: "updated", Type: DB_DateTime, Nullable: false},