mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00

Various dependencies updated after changes to `std.zig.Ast` and `std.LinkedList` and other things.
15 lines
294 B
Zig
15 lines
294 B
Zig
const jetquery = @import("jetzig").jetquery;
|
|
|
|
pub const User = jetquery.Model(
|
|
@This(),
|
|
"users",
|
|
struct {
|
|
id: i32,
|
|
email: []const u8,
|
|
password_hash: []const u8,
|
|
created_at: jetquery.DateTime,
|
|
updated_at: jetquery.DateTime,
|
|
},
|
|
.{},
|
|
);
|