From bea7cd3896e0b857ec6e5adf61e8ded4eded628d Mon Sep 17 00:00:00 2001 From: pluja Date: Fri, 4 Sep 2020 23:55:56 +0200 Subject: [PATCH] Fix old name in settings and others --- app/models.py | 4 ++-- app/templates/settings.html | 2 +- yotter-config.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/models.py b/app/models.py index 25d4d83..7b6a4c6 100644 --- a/app/models.py +++ b/app/models.py @@ -9,12 +9,12 @@ followers = db.Table('followers', ) channel_association = db.Table('channel_association', - db.Column('channel_id', db.String, db.ForeignKey('channel.id')), + db.Column('channel_id', db.String(30), db.ForeignKey('channel.id')), db.Column('user_id', db.Integer, db.ForeignKey('user.id')) ) # Association: CHANNEL --followed by--> [USERS] twitter_association = db.Table('twitter_association', - db.Column('account_id', db.String, db.ForeignKey('twitterAccount.id')), + db.Column('account_id', db.String(30), db.ForeignKey('twitterAccount.id')), db.Column('user_id', db.Integer, db.ForeignKey('user.id')) ) # Association: ACCOUNT --followed by--> [USERS] diff --git a/app/templates/settings.html b/app/templates/settings.html index bac76a0..fdcbe7a 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -20,7 +20,7 @@
Imports can take up to 2 minutes.
-

But you can still use Parasitter.

+

But you can still use Yotter.

diff --git a/yotter-config.json b/yotter-config.json index bf9d1d0..438a7de 100644 --- a/yotter-config.json +++ b/yotter-config.json @@ -1,4 +1,4 @@ { "nitterInstance": "https://nitter.net/", - "maxInstanceUsers": 1 -} \ No newline at end of file + "maxInstanceUsers": 10 +}