<commit_before>exports.up = function (db, cb) {
    db.runSql(`SELECT * FROM users`, (err, results) => {
        results.rows.forEach((user) => {
            db.runSql(
                `INSERT INTO user_splash(splash_id, user_id, seen) SELECT 'environment', u.id, false FROM users u`,
            );
        });
        cb();
    });
};

exports.down = function (db, cb) {
    db.runSql('DELETE FROM user_splash', cb);
};<commit_msg>fix: update sql query in add-splash-entry<commit_after>exports.up = function (db, cb) {
    db.runSql(
        `INSERT INTO user_splash(splash_id, user_id, seen) SELECT 'environment', u.id, false FROM users u`,
        cb,
    );
};

exports.down = function (db, cb) {
    db.runSql('DELETE FROM user_splash', cb);
};
{'fraction_non_alphanumeric': 0.156, 'fraction_numerical': 0.0, 'mean_word_length': 2.6813725490196076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3630941', 'n_tokens_mistral': 254, 'n_tokens_neox': 248, 'n_words': 63}