Skip to content

Commit

Permalink
chore: add turbo param for spaces (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonustrack authored Dec 12, 2023
1 parent 076979a commit d6910fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/graphql/schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ type Space {
verified: Boolean
flagged: Boolean
hibernated: Boolean
turbo: Boolean
rank: Float
created: Int!
}
Expand Down
2 changes: 2 additions & 0 deletions src/helpers/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ CREATE TABLE spaces (
deleted INT NOT NULL DEFAULT '0',
flagged INT NOT NULL DEFAULT '0',
hibernated INT NOT NULL DEFAULT '0',
turbo INT NOT NULL DEFAULT '0',
created BIGINT NOT NULL,
updated BIGINT NOT NULL,
PRIMARY KEY (id),
INDEX name (name),
INDEX verified (verified),
INDEX flagged (flagged),
INDEX hibernated (hibernated),
INDEX turbo (turbo),
INDEX deleted (deleted),
INDEX created (created),
INDEX updated (updated)
Expand Down

0 comments on commit d6910fc

Please sign in to comment.