فهرست منبع

updated database schema

tBKwtWS 7 سال پیش
والد
کامیت
4affa3bad8
1فایلهای تغییر یافته به همراه10 افزوده شده و 17 حذف شده
  1. 10 17
      pyrot.database.schema.sql

+ 10 - 17
pyrot.database.schema.sql

@@ -77,7 +77,7 @@ ALTER SEQUENCE channel_id_seq OWNED BY channels.id;
 
 
 --
--- Name: joins; Type: TABLE; Schema: public; Owner: postgres
+-- Name: joins; Type: TABLE; Schema: public; Owner: pyRot
 --
 
 CREATE TABLE joins (
@@ -90,10 +90,10 @@ CREATE TABLE joins (
 );
 
 
-ALTER TABLE joins OWNER TO postgres;
+ALTER TABLE joins OWNER TO "pyRot";
 
 --
--- Name: joins_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
+-- Name: joins_id_seq; Type: SEQUENCE; Schema: public; Owner: pyRot
 --
 
 CREATE SEQUENCE joins_id_seq
@@ -104,10 +104,10 @@ CREATE SEQUENCE joins_id_seq
     CACHE 1;
 
 
-ALTER TABLE joins_id_seq OWNER TO postgres;
+ALTER TABLE joins_id_seq OWNER TO "pyRot";
 
 --
--- Name: joins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+-- Name: joins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: pyRot
 --
 
 ALTER SEQUENCE joins_id_seq OWNED BY joins.id;
@@ -243,7 +243,7 @@ ALTER TABLE ONLY channels ALTER COLUMN id SET DEFAULT nextval('channel_id_seq'::
 
 
 --
--- Name: joins id; Type: DEFAULT; Schema: public; Owner: postgres
+-- Name: joins id; Type: DEFAULT; Schema: public; Owner: pyRot
 --
 
 ALTER TABLE ONLY joins ALTER COLUMN id SET DEFAULT nextval('joins_id_seq'::regclass);
@@ -287,7 +287,7 @@ ALTER TABLE ONLY channels
 
 
 --
--- Name: joins joins_channel_channel_network_user_user_network_key; Type: CONSTRAINT; Schema: public; Owner: postgres
+-- Name: joins joins_channel_channel_network_user_user_network_key; Type: CONSTRAINT; Schema: public; Owner: pyRot
 --
 
 ALTER TABLE ONLY joins
@@ -295,7 +295,7 @@ ALTER TABLE ONLY joins
 
 
 --
--- Name: joins joins_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
+-- Name: joins joins_pkey; Type: CONSTRAINT; Schema: public; Owner: pyRot
 --
 
 ALTER TABLE ONLY joins
@@ -367,7 +367,7 @@ ALTER TABLE ONLY channels
 
 
 --
--- Name: joins joins_channel_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+-- Name: joins joins_channel_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pyRot
 --
 
 ALTER TABLE ONLY joins
@@ -375,7 +375,7 @@ ALTER TABLE ONLY joins
 
 
 --
--- Name: joins joins_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+-- Name: joins joins_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pyRot
 --
 
 ALTER TABLE ONLY joins
@@ -414,13 +414,6 @@ ALTER TABLE ONLY users
     ADD CONSTRAINT users_network_fkey FOREIGN KEY (network) REFERENCES networks(name);
 
 
---
--- Name: joins; Type: ACL; Schema: public; Owner: postgres
---
-
-GRANT ALL ON TABLE joins TO "pyRot";
-
-
 --
 -- PostgreSQL database dump complete
 --