Remove comand, not needed

This commit is contained in:
TheJltres 2025-05-03 00:00:13 +02:00
parent eed0169437
commit de48478c6d
No known key found for this signature in database
GPG Key ID: FCF8AD4041800364
2 changed files with 0 additions and 6 deletions

View File

@ -22,10 +22,6 @@ pub fn run(allocator: std.mem.Allocator, cwd: std.fs.Dir, args: [][]const u8, he
}
const name = args[0];
const command = if (args.len > 1)
try std.mem.join(allocator, " ", args[1..])
else
null;
const seeders_dir = try cwd.makeOpenPath(
try std.fs.path.join(allocator, &.{ "src", "app", "database", "seeders" }),
@ -36,7 +32,6 @@ pub fn run(allocator: std.mem.Allocator, cwd: std.fs.Dir, args: [][]const u8, he
name,
.{
.seeders_path = try seeders_dir.realpathAlloc(allocator, "."),
.command = command,
},
);
const path = try seed.save();

View File

@ -1,5 +1,4 @@
const std = @import("std");
const jetquery = @import("jetquery");
pub fn run(repo: anytype) !void {
try repo.insert(