mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-17 14:30:52 +01:00
- Add haexSyncBackends table with CRDT support for multi-backend sync - Implement useSyncBackendsStore for managing sync server configurations - Fix desktop icon grid snapping for all icon sizes (small to extra-large) - Add Supabase client dependency for future sync implementation - Generate database migration for sync_backends table
11 lines
300 B
SQL
11 lines
300 B
SQL
CREATE TABLE `haex_sync_backends` (
|
|
`id` text PRIMARY KEY NOT NULL,
|
|
`name` text NOT NULL,
|
|
`server_url` text NOT NULL,
|
|
`enabled` integer DEFAULT true NOT NULL,
|
|
`priority` integer DEFAULT 0 NOT NULL,
|
|
`created_at` text DEFAULT (CURRENT_TIMESTAMP),
|
|
`updated_at` integer,
|
|
`haex_timestamp` text
|
|
);
|