diff --git a/db/config.go b/db/config.go index 957b4f89d..19b948254 100644 --- a/db/config.go +++ b/db/config.go @@ -50,6 +50,7 @@ func InitDB() { fmt.Println("db connected") // migrate table changes + db.AutoMigrate(&Tribe{}) db.AutoMigrate(&Person{}) db.AutoMigrate(&Channel{}) db.AutoMigrate(&LeaderBoard{}) diff --git a/tribes.sql b/tribes.sql index 8f389ded5..a3a0f6abd 100644 --- a/tribes.sql +++ b/tribes.sql @@ -22,6 +22,7 @@ CREATE TABLE tribes ( deleted boolean, app_url TEXT, feed_url TEXT, + second_brain_url TEXT, feed_type INT, last_active BIGINT, bots TEXT,