Commit e7f55c4c authored by Richard Mansfield's avatar Richard Mansfield
Browse files
parents fbbf8381 2c78b51c
......@@ -526,10 +526,10 @@ sub insert_random_filethings {
foreach my $item (@$artefactidlist) {
my $id = int($item->{id});
$self->{dbh}->do('INSERT INTO ' . $prefix . 'artefact_file_files (artefact, size)
VALUES (?, ?)', undef,
$self->{dbh}->do('INSERT INTO ' . $prefix . 'artefact_file_files (artefact, size, adminfiles)
VALUES (?, ?, ?)', undef,
$id,
$item->{artefacttype} eq 'folder' ? undef : int(rand(5000000)));
$item->{artefacttype} eq 'folder' ? undef : int(rand(5000000)), 0);
}
$self->{dbh}->commit();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment