mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
cd8698fac9
commit
97c2dcbaf6
@ -597,6 +597,7 @@
|
||||
x.autoIncrement = false;
|
||||
});
|
||||
newTable.foreignKeys = [];
|
||||
newTable.indexes = [];
|
||||
dmp.createTable(newTable);
|
||||
dmp.putCmd(
|
||||
'^insert ^into %f(%,i) ^select %,i from %f',
|
||||
|
@ -28,6 +28,11 @@
|
||||
errorMessage = null;
|
||||
isLoading = true;
|
||||
const resp = await apiCall('runners/load-reader', sourceReader);
|
||||
if (resp.errorMessage) {
|
||||
isLoading = false;
|
||||
errorMessage = resp.errorMessage;
|
||||
return;
|
||||
}
|
||||
// @ts-ignore
|
||||
model = resp;
|
||||
grider = new RowsArrayGrider(resp.rows);
|
||||
|
Loading…
Reference in New Issue
Block a user