if not Exists(SELECT * FROM information_schema.tables where Table_name = 'TafsiliProperty')
begin
	create table dbo.TafsiliProperty
	(
		ID	int primary key,
		Taf_ID	bigint references Tafsili(ID) not null,
		Dom_ID	int references Domain(ID) not null, -- نوع ردیف
		AI_ID	int references AccountItem(ID) null,
		Acc_ID	int references Account(ID) null,
		Value	nvarchar(max) null,
		Kar_ID_Creator	int references karbar(Id) not null,
		TarikhSabt	int not null,
		SaatSabt	int not null
	)
end