﻿IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'VoucherItem' AND  COLUMN_NAME = 'AI_ID_Moin')
begin
	alter table dbo.VoucherItem add AI_ID_Moin	int references dbo.AccountItem(ID) null
end