-
Notifications
You must be signed in to change notification settings - Fork 144
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 #1157 from Shelf-nu/1156-fix-dont-prompt-user-to-c…
…hoose-plan-when-registering-via-a-team-workspace-invite improvement: add flag to user so we know if they registered via invite
- Loading branch information
Showing
5 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
app/database/migrations/20240711140019_add_created_with_invite_to_user/migration.sql
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,8 @@ | ||
-- DropForeignKey | ||
ALTER TABLE "Qr" DROP CONSTRAINT "Qr_userId_fkey"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "User" ADD COLUMN "createdWithInvite" BOOLEAN NOT NULL DEFAULT false; | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "Qr" ADD CONSTRAINT "Qr_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE; |
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