if not Exists(SELECT * FROM information_schema.tables where Table_name = 'ContractItemRider')
begin
	create table ContractItemRider
	(
		ID	int primary key,
		CI_ID	int	references ContractItem(ID) not null,
		Dom_ID_RowType	int	references domain(ID) not null, 
		Quantity	float	not null,
		Price	decimal(19,4)	not null,
		[Description]	nvarchar(max),
		Kar_ID_Creator	int	references karbar(ID) not null,
		TarikhSabt	int not null,
		SaatSabt	smallint not null
	)
end