gorm/dialects
Nikola Kovacs 6eb73ae654 Fix too long foreign key names in mysql.
The dialect must define its own foreign key generator method.
The previous default is available as a method on gorm.DefaultForeignKeyNamer
and can be embedded in other dialects.
The mysql dialect uses the first 24 characters plus an sha1 hash of the
full key name if the key name is more than 64 characters.
2016-05-22 00:13:26 +02:00
..
mssql Fix too long foreign key names in mysql. 2016-05-22 00:13:26 +02:00
mysql Add dialects for supported databases for easier to use 2016-03-05 18:54:59 +08:00
postgres Refactor 2016-03-08 22:29:58 +08:00
sqlite Add dialects for supported databases for easier to use 2016-03-05 18:54:59 +08:00