fix migration

This commit is contained in:
Andrea Vos 2025-09-02 21:44:19 +02:00
parent b706642229
commit 7adb54272d

View File

@ -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;