gosora/schema/pgsql/query_users_groups_promotions.sql
Azareal 78c5c62eee Basic group promotions.
Add the users_groups_promotions table.
Optimise ConvoViewPage.

Shortened some things.
Convo CSS fixes.
Make sure the user cache is flushed properly after the post stats change.

You will need to run the patcher / updater for this commit.
2019-09-29 14:56:39 +10:00

9 lines
224 B
SQL

CREATE TABLE "users_groups_promotions" (
`pid` serial not null,
`from_gid` int not null,
`to_gid` int not null,
`two_way` boolean DEFAULT 0 not null,
`level` int not null,
`minTime` int not null,
primary key(`pid`)
);