mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 14:10:52 +01:00
10 lines
336 B
SQL
10 lines
336 B
SQL
CREATE TABLE `haex_workspaces` (
|
|
`id` text PRIMARY KEY NOT NULL,
|
|
`name` text NOT NULL,
|
|
`position` integer DEFAULT 0 NOT NULL,
|
|
`created_at` integer NOT NULL,
|
|
`haex_tombstone` integer,
|
|
`haex_timestamp` text
|
|
);
|
|
--> statement-breakpoint
|
|
ALTER TABLE `haex_desktop_items` ADD `workspace_id` text NOT NULL REFERENCES haex_workspaces(id); |