 (
 	ID int not null,
 	ResourceManagerID int not null,
-	ReconciliationMaster nvarchar(20) not null,
-	ReconciliationMode nvarchar(80) not null,
+	ReconciliationMaster character varying(20) not null,
+	ReconciliationMode character varying(80) not null,
 	constraint PK_DAEDevices primary key (ID)
 	--reference Devices_CatalogObjects (ID) references CatalogObjects (ID)
 )

create table DAEOperatorNameNames
(
	Depth int not null,
	Name nvarchar(200) not null, --This is the operator name (not just the name) of the operator specified by ID with name dequalified Depth times
	OperatorName nvarchar(200) not null,
	constraint PK_DAEOperatorNameNames primary key (Depth, Name, OperatorName)
	--reference OperatorNameNames { OperatorName } references OperatorNames { Name }
)


create table DAEUserRightAssignments
(
	User_ID character varying(200) not null,
	Right_Name character varying(200) not null,
	IsGranted tinyint not null default 0, -- check (IsGranted in (0, 1)),
	constraint PK_DAEUserRightAssignments primary key (User_ID, Right_Name)
	--reference UserRightAssignments_Users { User_ID } references Users { ID },
