mirror of
https://github.com/fosrl/pangolin.git
synced 2025-09-01 15:25:17 +02:00
Sqlite migration done
This commit is contained in:
parent
ebde149980
commit
80656f48e0
3 changed files with 28 additions and 2 deletions
|
@ -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;
|
||||
`);
|
||||
})();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue