Commit Graph

588 Commits

Author SHA1 Message Date
Kononnable
f52ba8f4c4 Ignore tables parameter (#120) 2019-12-22 16:58:13 +01: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
Kononnable
57cec40afb update dependencies 2019-12-18 22:24:42 +01:00
Kononnable
ddfc9f52d9 support for old oracle versions (#195) 2019-12-15 16:39:56 +01:00
Kononnable
f720f34bc7 remove sleep parameter
sql query execution timeout now set to 1hr
2019-12-15 12:57:19 +01:00
Kononnable
3c274e8361 Option to save .tomg-config file without connection details 2019-12-15 10:09:29 +01:00
Kononnable
47b98a8d8e change passing parameters to CLI 2019-12-12 20:31:38 +01:00
Kononnable
9e931025b9 fix naming strategy with relative path(#171) 2019-11-17 19:23:06 +01:00
Kononnable
3496c0647b naming strategy use functions instead class 2019-11-17 16:43:52 +01:00
Kononnable
20f3e24dc8 naming strategy test 2019-11-17 15:19:33 +01:00
Kononnable
3da7cf22cd
Import regression fix (in "next") (#224)
Import regression fix (in "next")
2019-11-17 15:05:38 +01:00
Kononnable
e15e194078 change travis config 2019-11-16 21:10:17 +01:00
Kononnable
c2d1e038a5
Typeroots (in "next") (#223)
Typeroots (in "next")
2019-11-12 22:55:37 +01:00
Vasil Rangelov
bcb2d8700c Fixed imports for relations to the same table. 2019-11-12 11:32:55 +02:00
Vasil Rangelov
91f9f11b44 Moved the import fetching to occur after the naming strategy is applied, to ensure correct imports. 2019-11-12 11:04:59 +02:00
Vasil Rangelov
2ae07a7dbe Added explicit copy of package.json into dist/package.json. 2019-11-11 19:21:42 +02:00
Vasil Rangelov
35987a98f9 Added typeRoot to tsconfig.json to ensure successful compilation when running as a dependency. 2019-11-11 18:17:47 +02:00
Kononnable
ecf9f51806 tests: compare join table options
fix removal of primary key index
tests for #183
2019-11-11 01:23:04 +01:00
Kononnable
61c98f7592 tests: compare join column options 2019-11-10 23:57:04 +01:00
Kononnable
e6de5fc195 Merge branch 'master' into code-restructuring 2019-11-10 20:02:27 +01:00
Kononnable
0bc4d74f44 fixbroken tests 2019-11-10 19:48:13 +01:00
Kononnable
a5f2a403eb mssql no longer is default sql engine 2019-11-10 19:03:50 +01:00
Kononnable
314c0675f1 fix removal of unused typeorm imports 2019-11-10 18:48:38 +01:00
Kononnable
f346c0b904 remove generation of PK indices 2019-11-10 18:41:21 +01:00
Kononnable
d797c3d06d proper colum names in ManyToMany relationships 2019-11-10 17:28:56 +01:00
Kononnable
5cdf4691f4 fix removal of columns used in relations which where also used in indices 2019-11-10 16:23:32 +01:00
Kononnable
beaf3a09da fix removal of some of columns from relations
proper referencedColumnName value
2019-11-10 14:54:48 +01:00
Kononnable
396a461626 fix generation of duplicate field names 2019-11-10 13:33:05 +01:00
Kononnable
06a28b70ae remove unnecessary TODOs 2019-11-09 11:49:51 +01:00
Kononnable
2cc6b4f43c fix generation of complex manyToMany relationships
fix generation of multiple relations based on the same column
2019-11-08 23:57:01 +01:00
Kononnable
1057b665ac remove unused import declarations 2019-11-07 22:03:01 +01:00
Kononnable
1b30e9d76c
Fix for: TypeError: The "config.options.port" property must be o… (#211)
Fix for: TypeError: The "config.options.port" property must be of type number.
2019-11-03 18:03:18 +01:00
Kononnable
01ac9f28c2
Fix for TypeError: The "config.options.requestTimeout" property… (#213)
Fix for TypeError: The "config.options.requestTimeout" property must be of type number.
2019-11-03 18:03:04 +01:00
Kononnable
d94b83c450 parse port parameter passed by inquirer 2019-11-03 17:22:15 +01:00
Kononnable
16596a0eb2 parse timeout parameter passed by inqiorer 2019-11-03 17:18:43 +01:00
Kononnable
35c7e35f74 #215 single primary key is always unique 2019-10-29 22:18:35 +01:00
Kononnable
01112c0bed
Merge pull request #215 from tienleok/patch-3
Fix for: Argument of type '{ type: "int"; unique: boolean; name: string; }' is not assignable to parameter of type 'PrimaryGeneratedColumnNumericOptions'.
2019-10-29 22:15:15 +01:00
Kononnable
bef61595af change tested node versions 2019-10-27 17:32:25 +01:00
Kononnable
b3c09ac285 disable linting error 2019-10-27 17:31:51 +01:00
Kononnable
a4619dd9ab model customization tests 2019-10-27 17:17:42 +01:00
TienLeok Ngo
a975a46e21
Update entity.mst
Fix for:
Argument of type '{ type: "int"; unique: boolean; name: string; }' is not assignable to parameter of type 'PrimaryGeneratedColumnNumericOptions'.
2019-10-23 15:16:09 +08:00
TienLeok Ngo
896698a9d1
Fix for #212 2019-10-22 17:44:31 +08:00
TienLeok Ngo
4e3c0b37ad
Fix #209 2019-10-21 13:42:54 +08:00
Kononnable
e15efe75e7 code cleanup 2019-10-13 17:20:17 +02:00
Kononnable
5f33127b4a change travis ci settings 2019-10-13 13:46:36 +02:00
Kononnable
bd9750bbb4 code cleanup, dependencies upgrade 2019-10-13 11:06:11 +02:00
Kononnable
e478562c6e generate tsconfig, ormconfig through template files 2019-10-12 22:03:54 +02:00
Kononnable
6ac8460d41 dependencies version upgrade
trying to debug failing CI build
2019-10-12 20:08:10 +02:00
Kononnable
30c2da8446 test why mariadb travis build failed 2019-10-12 18:50:23 +02:00