mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 14:19:11 +03:00
supabase-dev attempt 1: we have the docker container extending our realtime server, but we need to get all commands working together. At the moment only one is running at a time
This commit is contained in:
1 parent
1838c352e1
commit
f1ca81f18c
19 files changed
+176
-146
No files matched your search
@@ -0,0 +1,3 @@
|
||||
FROM supabase/packaged
|
||||
|
||||
ADD ./mnt /docker-entrypoint-initdb.d/
|
||||
@@ -0,0 +1,8 @@
|
||||
ALTER SYSTEM SET wal_level='logical';
|
||||
ALTER SYSTEM SET max_wal_senders='11';
|
||||
ALTER SYSTEM SET max_replication_slots='11';
|
||||
|
||||
-- This is now run in the latest dump
|
||||
-- CREATE PUBLICATION supabase_realtime FOR ALL TABLES;
|
||||
|
||||
CREATE ROLE web_admin;
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
|
||||
--
|
||||
-- Name: cities; Type: TABLE; Schema: public; Owner: supabase
|
||||
--
|
||||
|
||||
CREATE TABLE public.cities (
|
||||
id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
name character varying(255) NOT NULL,
|
||||
country_id integer NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
--
|
||||
-- Name: countries; Type: TABLE; Schema: public; Owner: supabase
|
||||
--
|
||||
|
||||
CREATE TABLE public.countries (
|
||||
id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
name character varying(255) NOT NULL,
|
||||
iso2 character varying(5) NOT NULL,
|
||||
continent character varying(255) NOT NULL
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Data for Name: cities; Type: TABLE DATA; Schema: public; Owner: supabase
|
||||
--
|
||||
|
||||
COPY public.cities (id, name, country_id) FROM stdin;
|
||||
1 Rio de Janeiro 1
|
||||
2 Beijing 2
|
||||
3 Paris 3
|
||||
4 Auckland 4
|
||||
5 Lagos 5
|
||||
6 San Francisco 6
|
||||
\.
|
||||
|
||||
|
||||
--
|
||||
-- Data for Name: countries; Type: TABLE DATA; Schema: public; Owner: supabase
|
||||
--
|
||||
|
||||
COPY public.countries (id, name, iso2, continent) FROM stdin;
|
||||
1 Brazil BR South America
|
||||
2 China CN Asia
|
||||
3 France FR Europe
|
||||
4 New Zealand NZ Oceania
|
||||
5 Nigeria NG Africa
|
||||
6 United States US North America
|
||||
\.
|
||||
|
||||
Reference in new issue
Block a user