Skip to content
Source
Sign inSign up
samwillis/neon-realtime-electric
Open History to see the last commit

example.sql

8 lines323 Bytes

1-- Dedicated local Function example table in the isolated staging test project.
2CREATE TABLE IF NOT EXISTS public.electric_items (
3 id integer PRIMARY KEY,
4 label text NOT NULL,
5 enabled boolean NOT NULL DEFAULT true
6);
7INSERT INTO public.electric_items (id, label) VALUES (1, 'First item')
8ON CONFLICT (id) DO NOTHING;