drop table if exists OOODelegatedRoles;

create table OOODelegatedRoles (
    OOOID integer primary key,
    UserID integer not null,
    DelegatedSubRoleID integer not null,
    InsertTimeStamp text not null,
    Active integer default 0
);

insert into OOODelegatedRoles (UserID, DelegatedSubRoleID, InsertTimeStamp, Active)
values (1, 5, '2024-03-20 04:01:00', 1),
(2, 2, '2024-03-20 04:00:00', 1);