You've already forked obsidian-visualiser
WebSocket API, new ID/encrypt/decrypt algorithm.
This commit is contained in:
19
drizzle/0023_chunky_thunderbird.sql
Normal file
19
drizzle/0023_chunky_thunderbird.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
PRAGMA foreign_keys=OFF;--> statement-breakpoint
|
||||
CREATE TABLE `__new_campaign` (
|
||||
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
`name` text NOT NULL,
|
||||
`owner` integer NOT NULL,
|
||||
`link` text NOT NULL,
|
||||
`status` text DEFAULT 'PREPARING',
|
||||
`inventory` text DEFAULT '[]',
|
||||
`money` integer DEFAULT 0,
|
||||
`public_notes` text DEFAULT '',
|
||||
`dm_notes` text DEFAULT '',
|
||||
FOREIGN KEY (`owner`) REFERENCES `users`(`id`) ON UPDATE cascade ON DELETE cascade
|
||||
);
|
||||
--> statement-breakpoint
|
||||
INSERT INTO `__new_campaign`("id", "name", "owner", "link", "status", "inventory", "money", "public_notes", "dm_notes") SELECT "id", "name", "owner", "link", "status", "inventory", "money", "public_notes", "dm_notes" FROM `campaign`;--> statement-breakpoint
|
||||
DROP TABLE `campaign`;--> statement-breakpoint
|
||||
ALTER TABLE `__new_campaign` RENAME TO `campaign`;--> statement-breakpoint
|
||||
PRAGMA foreign_keys=ON;--> statement-breakpoint
|
||||
ALTER TABLE `campaign_members` DROP COLUMN `rights`;
|
||||
Reference in New Issue
Block a user