Open Knetic opened 9 years ago
Some limitations:
nvarchar
, with min/max length as specified by the constraints. If constraints for length are missing, assume 1024 length. In the future, it may be worth sketching an extension to json schema which allows clear sizing of strings, or perhaps by mixing an "rc" file of some sort into the schema generation process, which clarifies string sizes.Partially implemented as of b9e88552d396927a46cf298546fb0548105dab41. It's a first pass.
Things;
13f9e8c8e4652f781338db1fe2b4ec1904af70e5
Given that the schemas can be accurately represented by RDMS, presilo ought to be able to generate SQL queries which can construct tables to match schemas.
This is for mysql specifically, since MSSQL will have slightly different syntax for constraints.