CREATE TABLE [users_groups_promotions] (
[pid] int not null IDENTITY,
[from_gid] int not null,
[to_gid] int not null,
[two_way] bit DEFAULT 0 not null,
[level] int not null,
[minTime] int not null,
primary key([pid])
);