From cdfb045c9063d5829ae321a7b113a5e20dd4300d Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Mon, 6 Jul 2020 00:55:17 -0400 Subject: [PATCH] tweak follow table --- .../DataAccessLayers/DbInitializerPostgresDal.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/DataAccessLayers/BirdsiteLive.DAL.Postgres/DataAccessLayers/DbInitializerPostgresDal.cs b/src/DataAccessLayers/BirdsiteLive.DAL.Postgres/DataAccessLayers/DbInitializerPostgresDal.cs index cbe37d5..7b36644 100644 --- a/src/DataAccessLayers/BirdsiteLive.DAL.Postgres/DataAccessLayers/DbInitializerPostgresDal.cs +++ b/src/DataAccessLayers/BirdsiteLive.DAL.Postgres/DataAccessLayers/DbInitializerPostgresDal.cs @@ -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);