mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
fix migration
This commit is contained in:
parent
b706642229
commit
7adb54272d
@ -19,16 +19,12 @@ create table users_dg_tmp
|
||||
loginAttempts TEXT,
|
||||
timesheets TEXT,
|
||||
socialLookup INTEGER default '0' not null,
|
||||
activeSubscriptionId text,
|
||||
subscriptionData TEXT default NULL,
|
||||
activeSubscription INTEGER default 0 not null,
|
||||
personally TEXT default NULL
|
||||
);
|
||||
|
||||
insert into users_dg_tmp(id, username, email, roles, avatarSource, bannedReason, suspiciousChecked, usernameNorm,
|
||||
bannedTerms, bannedBy, lastActive, banSnapshot, inactiveWarning, adminNotifications,
|
||||
loginAttempts, timesheets, socialLookup, activeSubscriptionId, subscriptionData,
|
||||
activeSubscription, personally)
|
||||
loginAttempts, timesheets, socialLookup, personally)
|
||||
select id,
|
||||
username,
|
||||
email,
|
||||
@ -46,9 +42,6 @@ select id,
|
||||
loginAttempts,
|
||||
timesheets,
|
||||
socialLookup,
|
||||
activeSubscriptionId,
|
||||
subscriptionData,
|
||||
activeSubscription,
|
||||
null
|
||||
from users;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user