about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-03-06 20:08:51 +0100
committerEmile <hanemile@protonmail.com>2019-03-06 20:08:51 +0100
commit4e0e07d64e28520e6fa9ed5595f0839cb02f2095 (patch)
tree81b1c2dc9eeaf02719f38a986fc77073179c2e4b
parentac0afbf77f17adc569ea2787a52776f80ff78737 (diff)
removed breaking statements
-rw-r--r--db_actions.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/db_actions.go b/db_actions.go
index a45c562..6d3fe0f 100644
--- a/db_actions.go
+++ b/db_actions.go
@@ -1288,13 +1288,6 @@ func InitStarsTable(db *sql.DB) {
     vy numeric,
     m numeric
 )
-WITH (
-    OIDS = FALSE
-)
-TABLESPACE pg_default;
-
-ALTER TABLE public.stars
-    OWNER to postgres;
 `
 	err := db.QueryRow(query)
 	if err != nil {
@@ -1316,13 +1309,6 @@ func InitNodesTable(db *sql.DB) {
 		center_of_mass numeric[] NOT NULL,
 		subnodes bigint[] NOT NULL
 	)
-	WITH (
-		OIDS = FALSE
-	)
-	TABLESPACE pg_default;
-
-	ALTER TABLE public.nodes
-	OWNER to postgres;
 `
 	err := db.QueryRow(query)
 	if err != nil {