List of commits:
Subject Hash Author Date (UTC)
Postgres is fun a6ce2f943edaafcb191464e620f054b8e3790b7d Sjoerd van der Heide 2017-12-13 14:56:07
Update strokendiagram. 93fadd32f8ae3e4939e3ef15d0cbb88dfa156f1f Jan Allersma 2017-12-13 14:00:50
Pijltjes gewijzigd a8afd1a9f75c81345938382097329692a640ec51 Sjoerd van der Heide 2017-12-13 10:57:04
Gevuld klassendiagram sportvereniging. c6581ffb618dc0723f2202bde3c54c5b22dc8ee6 Jan Allersma 2017-12-04 13:19:07
Opdrachtomschrijving week 3. 6502af7fc4d0ecec7b28cec01f62480c429c326d Jan Allersma 2017-12-04 12:41:23
Opdrachten week 1. 9f586f73dc8ef36c2aad46ee4e67b61bc898ccb1 Jan Allersma 2017-12-04 12:30:23
Presentaties + correcte KD 6c777e2b582db46ae3a95863313ac28a8a43b24f Sjoerd van der Heide 2017-12-04 11:51:14
PostOrderbedrijf met opmerkingen. 5b91bcc81f7fd0af14111d457286d84f849a27c1 Jan Allersma 2017-11-25 13:53:06
Initial commit 010f6f38432bd5aa5c3d4a04b84dfdaa2ca2edb8 kapstok 2017-11-21 10:38:36
Commit a6ce2f943edaafcb191464e620f054b8e3790b7d - Postgres is fun
Added the create table queries, now to fix the database
Author: Sjoerd van der Heide
Author date (UTC): 2017-12-13 14:56
Committer name: Sjoerd van der Heide
Committer date (UTC): 2017-12-13 14:56
Parent(s): fadf9e9a5cada1e45d43358ccdd2a66dd85138bc
Signing key:
Tree: dbb7b71bbd452f946efbc89af81302a461083b3a
File Lines added Lines deleted
Postorderbedrijf/PostorderBedrijf.asta 0 0
Postorderbedrijf/Queries/CREATE TABLE.sql 44 0
File Postorderbedrijf/PostorderBedrijf.asta changed (mode: 100644) (index 846a421..7a04ff1)
File Postorderbedrijf/Queries/CREATE TABLE.sql added (mode: 100644) (index 0000000..5257b1b)
1 CREATE TABLE Agentschap(
2 agentID SERIAL PRIMARY KEY,
3 naam text NOT NULL,
4 adres CHAR(50) NOT NULL );
5
6 CREATE TABLE Klant(
7 klantID SERIAL PRIMARY KEY,
8 naam text NOT NULL,
9 adres CHAR(50) NOT NULL);
10
11 CREATE TABLE Verzending(
12 verzendingID SERIAL PRIMARY KEY,
13 kostprijs REAL NOT NULL,
14 internationaal BOOLEAN NOT NULL,
15 naarKlant SERIAL REFERENCES Klant(klantID),
16 agentschap SERIAL REFERENCES Agentschap(agentID));
17
18 CREATE TABLE Goederenpakket(
19 pakketID SERIAL PRIMARY KEY,
20 gewichtTotaal REAL NOT NULL,
21 verzendingID SERIAL REFERENCES Verzending(verzendingID));
22
23 CREATE TABLE Luchtpost(
24 vluchtnummer SERIAL PRIMARY KEY,
25 luchtvaartmaatschappij text NOT NULL,
26 vertrekdatum date NOT NULL,
27 verzendingID SERIAL REFERENCES Verzending(verzendingID));
28
29 CREATE TABLE Documentpakket (
30 pakketID SERIAL PRIMARY KEY,
31 documentAantal INT NOT NULL,
32 luchpostID SERIAL REFERENCES Luchtpost(vluchtnummer));
33
34 CREATE TABLE Item (
35 itemID SERIAL PRIMARY KEY,
36 type text NOT NULL,
37 aantal INT NOT NULL,
38 pakketID SERIAL REFERENCES Goederenpakket(pakketID));
39
40 CREATE TABLE _Document (
41 documentID SERIAL PRIMARY KEY,
42 titel text NOT NULL,
43 auteur text NOT NULL,
44 pakketID SERIAL REFERENCES Documentpakket(pakketID));
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/kapstok/NHL-DB2

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/kapstok/NHL-DB2

Clone this repository using git:
git clone git://git.rocketgit.com/user/kapstok/NHL-DB2

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main