tweak follow table

This commit is contained in:
Nicolas Constant 2020-07-06 00:55:17 -04:00
parent b4b1756445
commit cdfb045c90
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688

View file

@ -106,8 +106,9 @@ namespace BirdsiteLive.DAL.Postgres.DataAccessLayers
followings INTEGER[],
followingsSyncStatus JSONB,
acct VARCHAR(20) UNIQUE,
host VARCHAR(20)
acct VARCHAR(50),
host VARCHAR(253),
UNIQUE (acct, host)
);";
await _tools.ExecuteRequestAsync(createFollowers);