This repository was archived by the owner on Oct 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3134 from withspectrum/2.3.0
2.3.0
- Loading branch information
Showing
194 changed files
with
7,499 additions
and
1,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
api/migrations/20180517180716-enable-private-communities.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
exports.up = async (r, conn) => { | ||
return r | ||
.table('communities') | ||
.update({ | ||
isPrivate: false, | ||
}) | ||
.run(conn); | ||
}; | ||
|
||
exports.down = function(r, conn) { | ||
return r | ||
.table('communities') | ||
.update({ | ||
isPrivate: r.literal(), | ||
}) | ||
.run(conn); | ||
}; |
17 changes: 17 additions & 0 deletions
17
api/migrations/20180517215503-add-ispending-to-userscommunities.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
exports.up = async (r, conn) => { | ||
return r | ||
.table('usersCommunities') | ||
.update({ | ||
isPending: false, | ||
}) | ||
.run(conn); | ||
}; | ||
|
||
exports.down = function(r, conn) { | ||
return r | ||
.table('usersCommunities') | ||
.update({ | ||
isPending: r.literal(), | ||
}) | ||
.run(conn); | ||
}; |
20 changes: 20 additions & 0 deletions
20
api/migrations/20180518135040-add-join-settings-to-community-settings.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
exports.up = async (r, conn) => { | ||
return r | ||
.table('communitySettings') | ||
.update({ | ||
joinSettings: { | ||
tokenJoinEnabled: false, | ||
token: null, | ||
}, | ||
}) | ||
.run(conn); | ||
}; | ||
|
||
exports.down = function(r, conn) { | ||
return r | ||
.table('communitySettings') | ||
.update({ | ||
joinSettings: r.literal(), | ||
}) | ||
.run(conn); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.