Commit Graph

316 Commits

Author SHA1 Message Date
kononnable
f46c0f8ca1 fix test 2020-08-22 18:37:43 +02:00
Matt Hilliard
834d1f1d61 Fix for #1795. @ManyToOne relations should not have an array type. 2020-08-13 18:00:56 -06:00
Matt Hilliard
ce78c37874 Makes Postgres driver aware of new identity columns 2020-08-11 16:20:43 -06:00
Paweł Kotarski
194c5e502b
Merge pull request #275 from iteufel/master
Fixed Bug where mssql Driver IsIdentity is not working with none dbo schemas
2020-08-01 14:52:46 +02:00
Kononnable
86c2dd4bc5 upgrade dependencies 2020-07-31 23:29:40 +02:00
Allan Amstadt
afe212e49b fix(package): Fixed Bug where mssql Driver IsIdentity is not working with non dbo schemas 2020-05-13 11:52:19 +02:00
Kononnable
a908f7c2e0 Merge branch 'master' into pr/dustinsmith1024/256 2020-03-28 13:26:43 +01:00
Kononnable
c6538f8c67 add test;
changes are necessary only in postgres driver
 it's the only one where typeorm support default value for json fields
2020-03-28 09:51:47 +01:00
Kononnable
288c159a6f update dependencies 2020-03-24 22:57:34 +01:00
Kononnable
4035794ab8 typos 2020-03-20 08:49:51 +01:00
Kononnable
5f16cc5a46
Merge pull request #260 from konuch/master
Export MySQL and MariaDB column comments.
2020-03-19 21:59:32 +01:00
Kononnable
c7d768cca6
Merge pull request #259 from drsugiaichigo00781vn/continue-when-generate-error
ignore table have numberic column name
2020-03-19 18:30:19 +01:00
Kononnable
4fad41cd10 proper fix of models which don't generate properly 2020-03-19 18:28:12 +01:00
Kononnable
4a7b1338f0 Allow models which don't generate properly to be saved 2020-03-19 17:37:00 +01:00
Kononnable
d9459ab85e fix eslint warning on PRs 2020-03-19 17:11:36 +01:00
Konuch
e513895060 Export MySQL and MariaDB column comments. 2020-03-17 21:19:20 +01:00
nguyenkimbang
fa85567d5a ignore error table 2020-03-17 15:55:35 +07:00
Kononnable
1f928d34c2 #243 Use statement not available on Azure SQL 2020-03-15 16:48:57 +01:00
Kononnable
c84798e8bf load db drivers on demand 2020-03-15 00:41:35 +01:00
Kononnable
e0a35280c3 update dependencies 2020-03-14 15:12:10 +01:00
Dustin
3cf7272b5b fixing json default value typescript parsing errors 2020-03-13 17:14:58 -05:00
Kononnable
9830f489ee fix #252 2020-03-11 22:26:53 +01:00
Kononnable
9ecc3dbbb0
Merge pull request #249 from CatsMiaow/master
Fix type NamingStrategy
2020-02-29 19:01:49 +01:00
Kononnable
a8ef75f765 remove duplicated type definition 2020-02-29 18:51:40 +01:00
CatsMiaow
be9d8925bf Fix type NamingStrategy 2020-02-20 13:26:47 +09:00
Allan Amstadt
50574e0565 fix(package): Fixed Bug where mssql Driver can not handle multiple tables with same name but different schemas. 2020-02-13 19:02:46 +01:00
Allan Amstadt
2a8648b40a fix(package): Fixed Bug where mssql Driver can not handle multiple tables with same name but different schemas. 2020-02-13 17:55:30 +01:00
Kononnable
f2d97b267a small refactor 2020-02-09 22:03:13 +01:00
Paolo Ceschi Berrini
9762e64feb render if EOL is different than the option 2020-01-16 10:42:20 +01:00
Paolo Ceschi Berrini
4a317009e0 refactoring export eolConverter 2020-01-16 10:41:21 +01:00
Paolo Ceschi Berrini
f42e3163c7 Default values as defined in index.ts 2020-01-15 16:47:08 +01:00
Paolo Ceschi Berrini
ee9a4a2605 init converter before calling the CLI 2020-01-15 16:46:29 +01:00
Paolo Ceschi Berrini
b9834ea527 Iniquirer and yargs choices for EOL 2020-01-14 14:04:17 +01:00
Paolo Ceschi Berrini
6289c351b1 Force EOL to be as defined, otherwise default from OS 2020-01-14 13:31:04 +01:00
Paolo Ceschi Berrini
60651a4727 Added generationOption with default value 2020-01-14 11:50:46 +01:00
Kononnable
5e4777318c disallow generation of relationId fields with lazy relations 2020-01-05 18:16:45 +01:00
Kononnable
51ac139ad7 proper fix for shadowed names 2020-01-05 01:29:14 +01:00
Kononnable
b34555a1f1 Merge branch 'master' into next 2020-01-03 13:38:47 +01:00
Kononnable
48a2dfcbae
Null in TS types (for "next") (#227)
Null in TS types (for "next")
2019-12-29 23:23:44 +01:00
Kononnable
f0a6f67429 code changes, test for nullable columns 2019-12-29 22:54:30 +01:00
Kononnable
986ae97410 Merge branch 'next' into pr/arimus/233 2019-12-28 12:16:26 +01:00
Kononnable
0e3d766e73 avoid name colisions in tomg exports 2019-12-28 12:01:52 +01:00
Kononnable
88d3947d32 ability to generate models with default exports
(instead of name exports)
2019-12-25 20:35:38 +01:00
Kononnable
dc4208ad0f Option to generate index file (#174) 2019-12-24 10:40:36 +01:00
Kononnable
57c6c307b0 Run eslint on models generated by tests 2019-12-24 09:53:53 +01:00
Kononnable
f52ba8f4c4 Ignore tables parameter (#120) 2019-12-22 16:58:13 +01:00
David Castro
0d16f0e6fc adjustment for entrypoint to import classes as different names to avoid collisions on export names 2019-12-21 21:40:51 -08:00
David Castro
53da13e043 Provide main entrypoint and generated typings to use the core as a library 2019-12-20 16:51:24 -08:00
Kononnable
ff637721ed Option to disable column name pluralization (#142) 2019-12-20 19:24:15 +01:00
Kononnable
7679ef2b77 support for mysql set type (#91) 2019-12-19 17:43:03 +01:00