🐙❄️ Spawnflake Rust

Spawnflake generates random data and/or based on patterns for relational databases. This is still in its early stages. These are the supported features so far (0.1.5): * db support - mysql - supports simple foreign key relationships (non unique foreign keys, int) * supports random data generator for the following types * varchar (partial support, generates up to 5 characters)
* int * smallint * tinyint * mediumint * bigint * decimal (partial support, generates integers) * float (partial support,no decimals) * double (partial support,no decimals) * datetime * supports pattern based generated random data (config.json) * varchar * integer

breaking changes

Running the example

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

Contributing

You are more than welcome. All you need to do is a pull request