mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
rename
This commit is contained in:
parent
83e3f8b1d8
commit
7d6008a441
@ -18,8 +18,8 @@ class MySqlAnalyser extends DatabaseAnalayser {
|
||||
async _runAnalysis() {
|
||||
const tables = await this.driver.query(this.pool, this.createQuery('tables'));
|
||||
const columns = await this.driver.query(this.pool, this.createQuery('columns'));
|
||||
const pkColumns = await this.driver.query(this.pool, this.createQuery('primary_keys'));
|
||||
const fkColumns = await this.driver.query(this.pool, this.createQuery('foreign_keys'));
|
||||
const pkColumns = await this.driver.query(this.pool, this.createQuery('primaryKeys'));
|
||||
const fkColumns = await this.driver.query(this.pool, this.createQuery('foreignCeys'));
|
||||
|
||||
return this.mergeAnalyseResult({
|
||||
tables: tables.rows.map((table) => ({
|
||||
|
@ -1,13 +1,13 @@
|
||||
const columns = require('./columns');
|
||||
const tables = require('./tables');
|
||||
const primary_keys = require('./primary_keys');
|
||||
const foreign_keys = require('./foreign_keys');
|
||||
const table_modifications = require('./table_modifications');
|
||||
const primaryKeys = require('./primaryKeys');
|
||||
const foreignKeys = require('./foreignKeys');
|
||||
const tableModifications = require('./tableModifications');
|
||||
|
||||
module.exports = {
|
||||
columns,
|
||||
tables,
|
||||
primary_keys,
|
||||
foreign_keys,
|
||||
table_modifications,
|
||||
primaryKeys,
|
||||
foreignKeys,
|
||||
tableModifications,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user