Alter repository so GroupInvites.expiry can be NULL

This commit is contained in:
catbref 2020-01-07 14:23:45 +00:00
parent 7a7ca4b684
commit a5c889c312

View File

@ -900,6 +900,11 @@ public class HSQLDBDatabaseUpdates {
+ "ON DUPLICATE KEY UPDATE balance = new_row.balance"); + "ON DUPLICATE KEY UPDATE balance = new_row.balance");
break; break;
case 63:
// Group invites should allow NULL expiry column
stmt.execute("ALTER TABLE GroupInvites ALTER COLUMN expiry SET NULL");
break;
default: default:
// nothing to do // nothing to do
return false; return false;