Implement slave-master architecture
This commit is contained in:
13
drizzle/0003_instances.sql
Normal file
13
drizzle/0003_instances.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE `instances` (
|
||||
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
`name` text NOT NULL,
|
||||
`base_url` text NOT NULL,
|
||||
`api_token` text NOT NULL,
|
||||
`enabled` integer DEFAULT true NOT NULL,
|
||||
`last_sync_at` text,
|
||||
`last_sync_error` text,
|
||||
`created_at` text NOT NULL,
|
||||
`updated_at` text NOT NULL
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX `instances_base_url_unique` ON `instances` (`base_url`);
|
||||
1203
drizzle/meta/0003_snapshot.json
Normal file
1203
drizzle/meta/0003_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -22,6 +22,13 @@
|
||||
"when": 1766880443160,
|
||||
"tag": "0002_perfect_hedge_knight",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 3,
|
||||
"version": "6",
|
||||
"when": 1769262874211,
|
||||
"tag": "0003_instances",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user