mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 04:21:12 +00:00
8 lines
204 B
Bash
8 lines
204 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
diesel \
|
||
|
--database-url 'postgres://pictrs:1234@localhost:5432/pictrs' \
|
||
|
print-schema \
|
||
|
--custom-type-derives "diesel::query_builder::QueryId" \
|
||
|
> src/repo/postgres/schema.rs
|