-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Scout model path * ci: version bump to 0.90.1-rc-feat-scout-path.0 * Removed unique and index for username * ci: version bump to 0.90.1-rc-feat-scout-path.1 --------- Co-authored-by: Automated Version Bump <[email protected]>
- Loading branch information
Showing
3 changed files
with
64 additions
and
42 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
21 changes: 21 additions & 0 deletions
21
src/prisma/migrations/20241029112455_scout_path/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,21 @@ | ||
/* | ||
Warnings: | ||
- A unique constraint covering the columns `[path]` on the table `Scout` will be added. If there are existing duplicate values, this will fail. | ||
*/ | ||
-- DropIndex | ||
DROP INDEX "Scout_username_idx"; | ||
|
||
-- DropIndex | ||
DROP INDEX "Scout_username_key"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "Scout" ADD COLUMN "path" TEXT, | ||
ALTER COLUMN "username" DROP NOT NULL; | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "Scout_path_key" ON "Scout"("path"); | ||
|
||
-- CreateIndex | ||
CREATE INDEX "Scout_path_idx" ON "Scout"("path"); |
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