Commit Graph

14 Commits

Author SHA1 Message Date
Andreas Zweili 34a8472dfa separate the locations and rent_prices tables
This way it would be a bit easier to work with
and it would make more sense in the payment history.
2017-08-08 22:20:42 +02:00
Andreas Zweili d078bb3646 allow payment_dates to be 0 2017-07-27 16:14:16 +02:00
Andreas Zweili b3a3a3b1f8 add a default member_status to new members
All new registered members get assigned the member status new_member.
2017-07-25 13:59:16 +02:00
Andreas Zweili 8a0e85ad8b add automatic dates to all the relevant attributes
This way we don't have to deal with the date format when creating a new entry.
2017-07-24 19:25:41 +02:00
Andreas Zweili 23f348b365 add a foreign key constraint to the cities table 2017-07-20 22:34:15 +02:00
Andreas Zweili 122bee4bbd add two new attributes to the members table 2017-07-20 22:33:17 +02:00
Andreas Zweili 81024b6b8b change street numbers to varchar
in some places streetnumbers contain letters
2017-07-20 20:36:26 +02:00
Andreas Zweili 48c795939c add the identity property to all the primary keys 2017-07-09 18:57:47 +02:00
Andreas Zweili 7db40baaaa add a missing comma 2017-07-09 18:39:26 +02:00
Andreas Zweili 68d9aff0d0 move email address to the members table 2017-07-03 21:47:34 +02:00
Andreas Zweili 7ba52b07ce add all the required constraints
in addition I've fixed some minor bugs.
2017-06-26 21:18:21 +02:00
Andreas Zweili 8ab5cd6957 switch the attribute reference and the constrait name
To create a constrait you first define the name and then
link to it's target.
2017-06-24 20:07:23 +02:00
Andreas Zweili 370af5e89b first draft of the create table script 2017-06-24 15:32:42 +02:00
Andreas Zweili 9171086de8 create project for the sql scripts 2017-06-05 13:11:26 +02:00