diff --git a/utils/sql_update/files_sql_update.pl b/utils/sql_update/files_sql_update.pl index d8e8fbe..349b1f7 100755 --- a/utils/sql_update/files_sql_update.pl +++ b/utils/sql_update/files_sql_update.pl @@ -21,7 +21,7 @@ sub check_exists { FetchHashKeyName => 'NAME_lc', }); - my $sql = "PRAGMA table_info(users)"; + my $sql = "PRAGMA table_info(files)"; my $sth = $dbh->prepare($sql); my $gotneeded;