Crates.io | diesel-derive-more |
lib.rs | diesel-derive-more |
version | 1.1.3 |
source | src |
created_at | 2018-02-25 00:08:55.315389 |
updated_at | 2018-04-03 06:31:04.181775 |
description | Additional derives to use with diesel to remove some boilerplate code |
homepage | |
repository | https://github.com/behos/diesel-derive-more |
max_upload_size | |
id | 52719 |
size | 13,407 |
This package provides some helpers for working with diesel models.
This is work in progress (created to support one of my projects) so it will continue to evolve.
Create a postgres test db and add a .env file to the root of the project pointing to that db
DATABASE_URL=postgres://dev:password@127.0.0.1/dev
Initialize the db by running:
pushd tests && diesel migration run && popd
You can run this when you make changes to the test schemas as well