Spawnflake generates random data and/or based on patterns for relational databases.
| Datastore | Data type | Random Data Generator | Pattern Based Generator |
| ----------- | ----------- |----------- | ----------- |
| Mysql | varchar | ✔️ | ✔️ |
| Mysql | int | ✔️ | ✔️ |
| Mysql | unsigned int | ✔️ | ❌ |
| Mysql | smallint | ✔️ | ❌ |
| Mysql | unsigned smallint | ✔️ | ❌ |
| Mysql | tinyint/unsigned tinyint | ✔️ | ❌ |
| Mysql | mediumint | ✔️ | ❌ |
| Mysql | bigint | ✔️ | ❌ |
| Mysql | unsigned bigint | ✔️ | ❌ |
| Mysql | decimal | ✔️ | ❌ |
| Mysql | float | ✔️ | ❌ |
| Mysql | double | ✔️ | ❌ |
| Mysql | bit | ✔️ | ❌ |
| Mysql | time | ✔️ | ❌ |
| Mysql | timestamp | ✔️ | ❌ |
| Mysql | date | ✔️ | ❌ |
| Mysql | year | ✔️ | ❌ |
| Mysql | char | ✔️ | ❌ |
| Mysql | binary | ✔️ | ❌ |
| Mysql | text | ✔️ | ❌ |
| Mysql | longtext | ✔️ | ❌ |
| Mysql | blob/longblob | ✔️ | ❌ |
| Mysql | enum | ❌ | ✔️ |
(+) works but not necessary with expected outcome
a pre release version is available/ check cli/readme.md for usage
Running the example requires to run docker-compose inside the test folder. Obviously you need * docker * an sql client/ or a way to access the mysql cli (so as to see the generated records) * cargo run --example generate_mysql
You are more than welcome. All you need to do is a pull request