Skip to content

Conversation

@Rho-Oof
Copy link
Contributor

@Rho-Oof Rho-Oof commented Apr 6, 2021

  • Add schema discovery to mysql and postgres
  • Add postgres tests
  • Add combined script to run all tests

@Rho-Oof Rho-Oof requested a review from MrDarkHorse April 6, 2021 22:15
async run() {
const {flags} = this.parse(ERD)
const schema = flags.schema
var schema = flags.schema
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var?

FROM information_schema.columns AS c
LEFT JOIN information_schema.tables AS t ON (c.table_schema=t.table_schema AND c.table_name = t.table_name)
--LEFT JOIN information_schema.table_constraints AS uk ON (c.table_schema=uk.table_schema AND c.table_name = uk.table_name AND uk.constraint_type = 'UNIQUE')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still need this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants