Skip to content
Ebubekir Tabak edited this page Jun 30, 2018 · 1 revision

Welcome to the go-postgresql-graphql-api wiki!

Create Database:

CREATE DATABASE people WITH OWNER <user_name>;

Select Database:

\c people

Create citizen table:

CREATE TABLE citizen ( id SERIAL PRIMARY KEY, name TEXT, email TEXT, age INT, weight Double precision );

Clone this wiki locally