Skip to content

Commit

Permalink
feat(orm): add foreign key support
Browse files Browse the repository at this point in the history
  • Loading branch information
m4tx committed Dec 10, 2024
1 parent 994059f commit 734204b
Show file tree
Hide file tree
Showing 26 changed files with 908 additions and 117 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flareon-cli/tests/migration_generator/create_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pub const FIELD_LEN: u32 = 64;

#[model]
struct MyModel {
id: i32,
field_1: String,
field_2: LimitedString<FIELD_LEN>,
}
Expand Down
Loading

0 comments on commit 734204b

Please sign in to comment.