mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
Sqlite migration done
This commit is contained in:
@@ -13,9 +13,10 @@ export default async function migration() {
|
||||
try {
|
||||
db.transaction(() => {
|
||||
db.exec(`
|
||||
ALTER TABLE 'resources' ADD 'enableProxy' integer DEFAULT true;
|
||||
ALTER TABLE 'sites' ADD 'remoteSubnets' text;
|
||||
ALTER TABLE 'user' ADD 'termsAcceptedTimestamp' text;
|
||||
ALTER TABLE 'user' ADD 'termsVersion' text;
|
||||
ALTER TABLE 'sites' ADD 'remoteSubnets' text;
|
||||
`);
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user