Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
queue
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Indra Raja
queue
Commits
de79955b
Commit
de79955b
authored
Sep 22, 2020
by
Indra Raja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menambahkan struktur database
parent
7b9b1583
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
792 additions
and
0 deletions
+792
-0
public/antrian.sql
public/antrian.sql
+752
-0
public/dokter.sql
public/dokter.sql
+40
-0
No files found.
public/antrian.sql
0 → 100644
View file @
de79955b
This diff is collapsed.
Click to expand it.
public/dokter.sql
0 → 100644
View file @
de79955b
/*
Navicat Premium Data Transfer
Source Server : localhost_5432
Source Server Type : PostgreSQL
Source Server Version : 110005
Source Host : localhost:5432
Source Catalog : Test1
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 110005
File Encoding : 65001
Date: 22/09/2020 11:11:38
*/
-- ----------------------------
-- Table structure for dokter
-- ----------------------------
DROP
TABLE
IF
EXISTS
"public"
.
"dokter"
;
CREATE
TABLE
"public"
.
"dokter"
(
"id_dokter"
int2
NOT
NULL
DEFAULT
nextval
(
'"dokter
\_
id_dokter_seq"'
::
regclass
),
"nama_dokter"
varchar
(
30
)
COLLATE
"pg_catalog"
.
"default"
,
"id_poli"
int2
,
"id_condition"
int2
,
"kode_dokter"
varchar
(
255
)
COLLATE
"pg_catalog"
.
"default"
)
;
-- ----------------------------
-- Primary Key structure for table dokter
-- ----------------------------
ALTER
TABLE
"public"
.
"dokter"
ADD
CONSTRAINT
"dokter
\_
pkey"
PRIMARY
KEY
(
"id_dokter"
);
-- ----------------------------
-- Foreign Keys structure for table dokter
-- ----------------------------
ALTER
TABLE
"public"
.
"dokter"
ADD
CONSTRAINT
"dokter to poli"
FOREIGN
KEY
(
"id_poli"
)
REFERENCES
"public"
.
"poli"
(
"id_poli"
)
ON
DELETE
NO
ACTION
ON
UPDATE
NO
ACTION
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment