sequelize-typescript-generator icon indicating copy to clipboard operation
sequelize-typescript-generator copied to clipboard

Results 18 sequelize-typescript-generator issues
Sort by recently updated
recently updated
newest added

This adds support for CITEXT columns in postgres DB tables.

here the current error i get when testing on 9.4 ```sql .... original: error: relation "pg_sequence" does not exist .... sql: 'SELECT\n' + ' CASE WHEN (seq.sequence_name IS NOT NULL)...

bug

Hi there, I have a suggested improvement to the package. Problem: I had some trouble using the correct schema in my project. I added the schema inside the connection object...

bug

On this line: https://github.com/spinlud/sequelize-typescript-generator/blob/6e2238d819eed8b98f0eba2931a6344c47de1333/src/dialects/DialectPostgres.ts#L306 `column.is_nullable` is always a string, `YES` or `NO` (ie. the datatype `yes_or_no`), so `!!column.is_nullable` will always be true. This can (probably) be fixed by adding `c.is_nullable...

bug

hi, great work! how should the input (-f) json file look like? i am trying something like: ```json { "connection": { "host": "...", "port": "..." }, "output": { "clean": true,...

helps in non-primary key bassed associations.

- adding ability to specify schemas for individual tables (only implemented MSSQL, but shared code supports others) - adding option to use Prettier - adding VSCode debugging - reduced the...

Hello, I am running into an issue where MySQL needs to store JSON objects as strings. See https://dev.mysql.com/doc/refman/8.0/en/json.html#:~:text=In%20MySQL%2C%20JSON,following%20examples%20demonstrate for more details. However the sequelize-typescript-generator is typing the database JSON columns...

Hi, I use `sequelize-typescript-generator` library programmatically: `sequelize-generator.ts`: ``` import { IConfig, ModelBuilder, DialectMySQL } from 'sequelize-typescript-generator'; (async () => { const config: IConfig = { connection: { dialect: 'mysql', database:...

like example: ```js class Foo extends Model {} Foo.init({ /* 属性 */ }, { sequelize, timestamps: true, createdAt: 'created_time', // "updatedAt"(default name) as "update_time" updatedAt: 'update_time' }); ```