Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@apskhem apskhem released this 03 Jan 18:24
3f78493
  • Allowed note blocks at the root schema sticky notes
  • Added notes on table groups spec
  • Added table group settings spec
  • Improved tests so they compare against the .ron files in the out folder (set the UPDATE_DBML_OUTPUT=1 to have the test suite update the .ron files)
    • Enabled test running for the mysql/mssql/postgres importer files
  • Added in double-quoted string in attributes
    • Needed for the DB importer files as the index names get exported in double-quotes
  • Improved column type handling to support
    • Schemas in the col_type (e.g. schemaB.my_enum when using a enum from another schema)
    • [] placement on unquoted type names (e.g. char[] or my_enum[])
    • [] placement after the quoted type name (e.g. "character varying"[])
    • Mixed quoting with schema (e.g. "schemaB"."my_enum" or schemaB."my_enum" etc.)
  • Added support for unspecified database rather than just forcing to use PostgresQL during AST analysis
  • Fixed raw identifier parsing with an empty space inside
  • Changed the project method from ast::schema::SchemaBlock to projects as it can exist as multiple blocks without applying analysis
  • Updated minor documentation

Big kudos to @urkle's contribution.