b6931fe16a
Run group promotions on group change. Run group promotions on registration. Load the CreatedAt field when users are loaded. Set the default for last_ip properly. Fix the default values in the group promotion form. Add initial group promotion tests. Add panel_group_promotion_registered_for phrase. Add the registeredFor column to the users_groups_promotions table. You will need to run the updater / patcher for this commit.
11 lines
300 B
SQL
11 lines
300 B
SQL
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,
|
|
[posts] int DEFAULT 0 not null,
|
|
[minTime] int not null,
|
|
[registeredFor] int DEFAULT 0 not null,
|
|
primary key([pid])
|
|
); |