Commit Graph

26 Commits

Author SHA1 Message Date
Andreas Zweili f5bbdb796d remove trailing whitespace 2017-09-02 16:38:16 +02:00
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 d210e1522e create a sql script to create the rents view 2017-08-08 21:53:14 +02:00
Andreas Zweili 9f1f0d0139 rename the removal script 2017-08-08 21:52:37 +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 c3fb4a6976 fix an insert person query 2017-07-22 15:13:01 +02:00
Andreas Zweili 8e874bfd67 add empty member_state 2017-07-20 23:07:13 +02:00
Andreas Zweili aecbcd4b3f add a country reference to the cities table 2017-07-20 23:03:25 +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 ede47123cd add changes after saving the sql studio 2017-07-09 20:00:24 +02:00
Andreas Zweili 245c555878 add various test data to all tables 2017-07-09 19:48:26 +02:00
Andreas Zweili 0308f06dae remove unnecessary code
To remove the database it's not needed to remove all tables beforehand.
2017-07-09 19:01:18 +02:00
Andreas Zweili 0b33cd0c09 add code to insert all swiss cities 2017-07-09 18:58:42 +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 1d4128e8f9 clean up the removal script 2017-06-26 21:17:54 +02:00
Andreas Zweili 887d168df2 remove unnecessary parentheses 2017-06-24 20:08:30 +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