Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/second brain url #1554

Merged
merged 2 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading