Skip to content

Commit

Permalink
Merge pull request #2202 from undb-io/release/v1.0.0-140
Browse files Browse the repository at this point in the history
Release version v1.0.0-140
  • Loading branch information
nichenqin authored Jan 21, 2025
2 parents 9c2b70f + 1c71981 commit cca4de4
Show file tree
Hide file tree
Showing 19 changed files with 2,094 additions and 49 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v1.0.0-140


### 🩹 Fixes

- Fix button field trigger ([a1d297d](https://github.com/undb-io/undb/commit/a1d297d))

### ❤️ Contributors

- Nichenqin ([@nichenqin](http://github.com/nichenqin))

## v1.0.0-139


Expand Down
14 changes: 14 additions & 0 deletions apps/backend/drizzle/sqlite/0015_greedy_ben_grimm.sql
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;
Loading

0 comments on commit cca4de4

Please sign in to comment.