Browse Source

[AC-1174] Add CollectionGroupType.sql and CollectionUserType.sql

ac/ac-1174/testing-unidirectional-dataflow
Shane Melton 2 years ago
parent
commit
60dd83c375
No known key found for this signature in database
  1. 7
      src/Sql/dbo/User Defined Types/CollectionGroupType.sql
  2. 7
      src/Sql/dbo/User Defined Types/CollectionUserType.sql

7
src/Sql/dbo/User Defined Types/CollectionGroupType.sql

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
CREATE TYPE CollectionGroupType AS TABLE (
CollectionId uniqueidentifier NOT NULL,
GroupId uniqueidentifier NOT NULL,
ReadOnly bit NOT NULL,
HidePasswords bit NOT NULL,
Manage bit DEFAULT 0 NOT NULL
);

7
src/Sql/dbo/User Defined Types/CollectionUserType.sql

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
CREATE TYPE CollectionUserType AS TABLE (
CollectionId uniqueidentifier NOT NULL,
OrganizationUserId uniqueidentifier NOT NULL,
ReadOnly bit NOT NULL,
HidePasswords bit NOT NULL,
Manage bit DEFAULT 0 NOT NULL
);
Loading…
Cancel
Save