Skip to content

Commit

Permalink
Merge pull request #1554 from stakwork/feat/second_brain_url
Browse files Browse the repository at this point in the history
Feat/second brain url
  • Loading branch information
elraphty authored Feb 22, 2024
2 parents c8974fa + 9d5baa0 commit 816482e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions db/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
Expand Down
1 change: 1 addition & 0 deletions db/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type Tribe struct {
Deleted bool `json:"deleted"`
AppURL string `json:"app_url"`
FeedURL string `json:"feed_url"`
SecondBrainUrl string `json:"second_brain_url"`
FeedType uint64 `json:"feed_type"`
LastActive int64 `json:"last_active"`
Bots string `json:"bots"`
Expand Down
1 change: 1 addition & 0 deletions tribes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 816482e

Please sign in to comment.