allow payment_dates to be 0
This commit is contained in:
parent
82bad94aa5
commit
d078bb3646
|
@ -128,7 +128,7 @@ if not exists (select * from sysobjects where name='rents')
|
||||||
CREATE TABLE rents (
|
CREATE TABLE rents (
|
||||||
rent_id int identity not null,
|
rent_id int identity not null,
|
||||||
rent_date date default getdate(),
|
rent_date date default getdate(),
|
||||||
payment_date date not null,
|
payment_date date null,
|
||||||
member_id int not null,
|
member_id int not null,
|
||||||
rent_price_id int not null
|
rent_price_id int not null
|
||||||
constraint rent_pk primary key (rent_id)
|
constraint rent_pk primary key (rent_id)
|
||||||
|
|
Loading…
Reference in New Issue