Next Level Media

Server & Infrastruktura

Brz pristup serveru, Coolify-u i aktivnim sajtovima

Brzi pristup

Coolify Dashboard

Hetzner Server

Aktivni sajtovi

Brze akcije

SQL — Tabela hosted_sites

CREATE TABLE hosted_sites (
  id         UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  name       TEXT NOT NULL,
  url        TEXT NOT NULL,
  client_id  UUID REFERENCES clients(id) ON DELETE SET NULL,
  status     TEXT NOT NULL DEFAULT 'active'
             CHECK (status IN ('active', 'inactive', 'maintenance')),
  created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);

-- RLS
ALTER TABLE hosted_sites ENABLE ROW LEVEL SECURITY;
CREATE POLICY "Authenticated users manage hosted_sites"
  ON hosted_sites FOR ALL
  TO authenticated USING (true) WITH CHECK (true);
Asistent0/30

Pitaj me o klijentima, zadacima, fakturama ili finansijama. Mogu i da kreiram zadatke, beleske i podsetnike.

Brze beleške

Nema beleški