1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-10 03:58:54 +08:00

Loading remote database and inquiries #109

This commit is contained in:
lana-k
2023-06-05 22:31:39 +02:00
parent 998e8d66f7
commit 0044d82b6f
15 changed files with 585 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ class Database {
}
this.dbName = file ? fu.getFileName(file) : 'database'
this.refreshSchema()
await this.refreshSchema()
events.send('database.import', file ? file.size : 0, {
from: file ? 'sqlite' : 'none',

View File

@@ -22,6 +22,7 @@ export default class Tab {
table: 'bottom',
dataView: 'hidden'
}
this.maximize = inquiry.maximize
this.isSaved = !!inquiry.id
this.state = state