You've already forked obsidian-visualiser
Fix Campaign log DB and rendering. Migrate mail rendering to virtual DOM API.
This commit is contained in:
@@ -7,7 +7,7 @@ CREATE TABLE `__new_campaign_logs` (
|
||||
`details` text NOT NULL,
|
||||
PRIMARY KEY(`id`, `from`, `timestamp`),
|
||||
FOREIGN KEY (`id`) REFERENCES `campaign`(`id`) ON UPDATE cascade ON DELETE cascade,
|
||||
FOREIGN KEY (`from`) REFERENCES `campaign_characters`(`character`) ON UPDATE cascade ON DELETE cascade
|
||||
FOREIGN KEY (`from`)
|
||||
);
|
||||
--> statement-breakpoint
|
||||
INSERT INTO `__new_campaign_logs`("id", "from", "timestamp", "type", "details") SELECT "id", "from", "timestamp", "type", "details" FROM `campaign_logs`;--> statement-breakpoint
|
||||
|
||||
Reference in New Issue
Block a user