mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
10 lines
258 B
SQL
10 lines
258 B
SQL
-- Migration: Create machines table
|
|
CREATE TABLE IF NOT EXISTS machines (
|
|
machineId TEXT PRIMARY KEY,
|
|
data TEXT NOT NULL,
|
|
updatedAt TEXT NOT NULL
|
|
);
|
|
|
|
-- Index for faster lookups
|
|
CREATE INDEX IF NOT EXISTS idx_machines_updatedAt ON machines(updatedAt);
|