﻿if not Exists(SELECT * FROM information_schema.tables where Table_name = 'MatterNote')
begin
	create table dbo.MatterNote
	(
		ID	int primary key,
		Mat_ID	bigint references dbo.Matter(ID) not null,
		Tarikh	int not null,
		Saat	int not null,
		Value	nvarchar(max) null,
		Kar_ID_Creator	int references dbo.Karbar(ID) not null,
		TarikhSabt	int not null,
		SaatSabt	int not null	
	)
end
