You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`FOREIGN KEY(columnName) REFERENCES tableName(columnName)`. Use this format to create a foreign key constraint. Omit the `name` property when using this format. Add `FOREIGN KEY` constraints to the end of the table definition. Note that the field itself still needs to be added to the table definition. Make sure to order the tables in the configuration so that the referenced table is created first.
24
+
-`FOREIGN KEY(columnName) REFERENCES tableName(columnName)`. Use this format to create a foreign key constraint. Omit the `name` property when using this format. Add `FOREIGN KEY` constraints to the end of the table definition. Note that the field itself (where the foreign key refers to) still needs to be added to the table definition. Make sure to order the tables in the configuration so that the referenced table is created first.
25
25
26
26
-`generator`: A function with the signature `(variables, row) -> value`. The function is evaluated for each row generated. The variables contains the variables defined in the table configuration. The row contains the row data when generating rows based on the source table.
27
27
@@ -87,7 +87,6 @@ To enable debugging set the `DEBUG` environment variable to `sqlite-data-generat
87
87
88
88
## Roadmap
89
89
90
-
- Extend the example configuration to include more complex examples
91
90
- Add the ability to generate multiple rows of data for a single row in the source table
0 commit comments