- 05 Sep, 2021 1 commit
-
-
Katharina Fey authored
Fix failing test See merge request !1
-
- 04 Sep, 2021 1 commit
-
-
Will Czifro authored
-
- 03 Sep, 2021 1 commit
-
-
Will Czifro authored
-
- 28 Jan, 2021 19 commits
-
-
-
Install with `cargo install diesel_cli --features="barrel-migrations"` with get raised error, it is better to install with `barrel/sqlite3,sqlite` features.
-
Katharina Fey authored
Fix compilation errors and remove unused sub-crate
-
Katharina Fey authored
-
switch DateTime to use Timestamp instead of Timestamptz
-
-
-
-
-
-
-
-
-
-
-
-
Katharina Fey authored
-
Katharina Fey authored
-
Katharina Fey authored
-
- 06 Mar, 2020 2 commits
-
-
Kaleb Elwert authored
-
Kaleb Elwert authored
-
- 21 Feb, 2020 3 commits
-
-
Katharina Fey authored
-
Katharina Fey authored
-
let's is "let us", lets is present-tense let
-
- 21 Jan, 2020 5 commits
-
-
Katharina Fey authored
-
Katharina Fey authored
-
Katharina Fey authored
This is not a permament solution and we'll add a test harness soon that executes tests against an actual database, but for now this will do.
-
Katharina Fey authored
-
Katharina Fey authored
-
- 06 Jan, 2020 7 commits
-
-
Katharina Fey authored
The previous builder API was very suboptimal because it required database-specific string escaping on the side of the user. Instead `barrel` now takes a table to reference as a string, then either a single column name or a vector of columns. This is currently still "stringly-typed" but good enough for now! It also adds a `foreign_schema` function which can be passed a schema that is _different_ from the current table schema.
-
Katharina Fey authored
This PR changes the way that the `types::primary()` builder works and adds a `primary(bool)` function to the Type pattern. The `PRIMARY` base type still exists, but is handled seperately, for Pg reasons (should be removed next version). All other types that use the `primary(...)` function will be able to become `PRIMARY KEY` in the generated SQL. Additionally this PR fixes the way that `WrappedDefault` values are encoded. i.e. it is now possible to properly specify a default value that is then mapped into the apropriate type.
-
Katharina Fey authored
-
Katharina Fey authored
-
Katharina Fey authored
-
Katharina Fey authored
- 26 Dec, 2019 1 commit
-
-
Katharina Fey authored
-