k1LoW / tbls

tbls is a CI-Friendly tool for document a database, written in Go.
MIT License
3.43k stars 166 forks source link

Viewpoints from tables not refered just in `diff` #535

Closed majimaccho closed 11 months ago

majimaccho commented 11 months ago

What happened

Viewpoints section in tables markdown is not generated when I run tbls diff, even after I run tbls doc

What you expected to happened

tbls diff command generate Viewpoints section internally.

What stack trace or error message from tbls did you see?

No errors

Anything else we need to know?

Viewpoints section is not set because the line I added last PR below https://github.com/macoto1995/tbls/blob/693d890545dbeaaa261260b976d6d298ef6e3af7/output/md/md.go#L132

is not applied to diff (DiffSchemas?) https://github.com/macoto1995/tbls/blob/693d890545dbeaaa261260b976d6d298ef6e3af7/output/md/md.go#L209

Environment

k1LoW commented 11 months ago

@macoto1995 Thank you for your report!