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