allow payment_dates to be 0

This commit is contained in:
Andreas Zweili 2017-07-27 16:14:16 +02:00
parent 82bad94aa5
commit d078bb3646
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ if not exists (select * from sysobjects where name='rents')
CREATE TABLE rents (
rent_id int identity not null,
rent_date date default getdate(),
payment_date date not null,
payment_date date null,
member_id int not null,
rent_price_id int not null
constraint rent_pk primary key (rent_id)