misc: updating packages ci: switching to github actions
feat: add --no-bigint #17 (wirekang) feat: add --no-optional #18 (wirekang) fix: --no-write-header to --no-header (wirekang) misc: updating packages
chore: upgrading dependencies
feat: infer bigint type chore: upgrading dependencies
fix(mysql): for some versions of mysql key casing results in empty hash lookups feat(postgres): Adding types 'mol', 'bfp' and 'bit'
chore: adding ci
chore: Upgrading dependencies
fix(postgres): (bchrobot) adding missing cli command throwOnMissingType
fix(postgres): (bchrobot) typo in write-header option
fix: typo in CLI
feat: adding mysql compatability
This allows you to do the same thing just with mysql using /bin/schemats mysql $connection_string -s $schema_name
chore: updating all dependencies
feat: add -C --camelCaseTypes option
This option adds the ability to camel case just the type names - which
gives a good mix between using JS Standard Camel Case and still
following the actual definitions of database.
The issue with using camel case for both the types and the keys
is that we would have to provide a layer within the programs using the
types to convert back to the original form if the attributes are
different in JS than in the schema.
There are definately
issues with this, especially with a database schema with an inconsistent
naming convention - we would have to provide some sort of mapping file
to acheive correct conversion.
The types on the other hand, only exist in JS and therefore can be named
whatever we want when generating the types.
fix(schema): add 'tsvector' to string types
Text Search Vectors are a complex type inside of postgres, but can
generally be expressed as strings within TS.
fix(generator): quote string enum keys
This helps prevent issues in the generated file due to special
characters like `:` present in the postgres enum keys.
doc: adding example documentation fix: Don't export custom types if empty
Feat: Exporting tables and Custom types for typed-postgres
Fix: array regression due to bad merge
Feat: using the -f flag to reference a file with non DB types and adding comments to columns in postgres using COMMENT ON COLUMN schema.table.column is '@type {TYPE}';
now allows us to type jsonb columns directly
Fix: isArray overrides real value with false
Fix: publish dist and src packages
Fix: nullable fields are also optional
Fix: Adding support for arrays
Include README file in published package
First release