loopback-connector-mysql/test
Sergey Nosenko 72abcb8e9f fix compare of foreign keys for autoupdate (#272)
* fix compare of foreign keys for autoupdate

use mysql table name in case it is not equal model name

* fix column name lookup for fk definition

* fix ADD CONSTRAINT for multiple fk

if more the one foreign key added ADD CONSTRAINT
must be separated with comma but not with space as applySqlChanges do.

* fix duplicate foreign key creation on autoupdate

* fix entity name selection

* change join to toString as requested

* fix removing dropped keys

* fix linter issues

* add test case with columnName in foreign key

and isActual check after autoupdate

* uncommit accitenally commited test case
2017-05-05 19:13:23 -04:00
..
helpers Fix CI Failures 2016-12-07 23:53:46 -05:00
connection.test.js Update eslint infrastructure 2016-08-10 20:04:26 -04:00
datatypes.test.js fix linting problems 2017-03-21 10:45:24 +01:00
datetime.test.js Tests for datetime types 2017-05-02 17:46:21 -04:00
imported.test.js Update eslint infrastructure 2016-08-10 20:04:26 -04:00
init.js Add connectorCapabilities global object (#201) 2016-10-11 23:13:20 -07:00
migration.test.js Fix CI Failures 2016-12-07 23:53:46 -05:00
mocha.opts Move mocha args to test/mocha.opts 2013-12-13 10:27:33 -08:00
mysql.autoupdate.test.js fix compare of foreign keys for autoupdate (#272) 2017-05-05 19:13:23 -04:00
mysql.discover.test.js Return if column is generated or not (#198) 2017-03-08 18:56:27 -05:00
mysql.test.js Add CI fixes (#197) 2016-09-28 13:32:38 -07:00
persistence-hooks.test.js Update eslint infrastructure 2016-08-10 20:04:26 -04:00
schema.sql Return if column is generated or not (#198) 2017-03-08 18:56:27 -05:00
transaction.promise.test.js Fix too many connection error (#261) 2017-04-17 16:16:59 -04:00
transaction.test.js Update eslint infrastructure 2016-08-10 20:04:26 -04:00