-- 0006_minio.sql
CREATE TABLE IF NOT EXISTS object_storage (
  id TEXT PRIMARY KEY,
  name TEXT,
  access_key TEXT,
  secret_key TEXT,
  data_path TEXT,
  port INTEGER,
  tls INTEGER DEFAULT 0,
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE IF NOT EXISTS buckets (
  id TEXT PRIMARY KEY,
  name TEXT,
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
