-
-
Notifications
You must be signed in to change notification settings - Fork 106
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 #2202 from undb-io/release/v1.0.0-140
Release version v1.0.0-140
- Loading branch information
Showing
19 changed files
with
2,094 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
PRAGMA foreign_keys=OFF;--> statement-breakpoint | ||
CREATE TABLE `__new_undb_session` ( | ||
`id` text PRIMARY KEY NOT NULL, | ||
`user_id` text NOT NULL, | ||
`expires_at` integer NOT NULL, | ||
`spaceId` text NOT NULL, | ||
FOREIGN KEY (`user_id`) REFERENCES `undb_user`(`id`) ON UPDATE no action ON DELETE no action, | ||
FOREIGN KEY (`spaceId`) REFERENCES `undb_space`(`id`) ON UPDATE no action ON DELETE no action | ||
); | ||
--> statement-breakpoint | ||
INSERT INTO `__new_undb_session`("id", "user_id", "expires_at", "spaceId") SELECT "id", "user_id", "expires_at", "spaceId" FROM `undb_session`;--> statement-breakpoint | ||
DROP TABLE `undb_session`;--> statement-breakpoint | ||
ALTER TABLE `__new_undb_session` RENAME TO `undb_session`;--> statement-breakpoint | ||
PRAGMA foreign_keys=ON; |
Oops, something went wrong.