<commit_before>/**
 * Default model settings
 * (sails.config.models)
 *
 * Your default, project-wide model settings. Can also be overridden on a
 * per-model basis by setting a top-level properties in the model definition.
 *
 * For details about all available model settings, see:
 * https://sailsjs.com/config/models
 *
 * For more general background on Sails model settings, and how to configure
 * them on a project-wide or per-model basis, see:
 * https://sailsjs.com/docs/concepts/models-and-orm/model-settings
 */

export const models = {
    /***************************************************************************
    *                                                                          *
    * How and whether Sails will attempt to automatically rebuild the          *
    * tables/collections/etc. in your schema.                                  *
    *                                                                          *
    * > Note that, when running in a production environment, this will be      *
    * > automatically set to `migrate: 'safe'`, no matter what you configure   *
    * > here.  This is a failsafe to prevent Sails from accidentally running   *
    * > auto-migrations on your production database.                           *
    * >                                                                        *
    * > For more info, see:                                                    *
    * > https://sailsjs.com/docs/concepts/orm/model-settings#?migrate          *
    *                                                                          *
    ***************************************************************************/

    migrate: 'alter',
    associations: {
        list: 'link',
        detail: 'record'
    },
    fetchRecordsOnUpdate: true,
    fetchRecordsOnDestroy: true,
    fetchRecordsOnCreate: true,
    fetchRecordsOnCreateEach: true,
    validations: {
        ignoreProperties: ['includeIn']
    },
    /***************************************************************************
    *                                                                          *
    * Base attributes that are included in all of your models by default.      *
    * By convention, this is your primary key attribute (`id`), as well as two *
    * other timestamp attributes for tracking when records were last created   *
    * or updated.                                                              *
    *                                                                          *
    * > For more info, see:                                                    *
    * > https://sailsjs.com/docs/concepts/orm/model-settings#?attributes       *
    *                                                                          *
    ***************************************************************************/
    attributes: {
        createdAt: { type: 'ref', columnType: 'date', autoCreatedAt: true },
        updatedAt: { type: 'ref', columnType: 'date', autoUpdatedAt: true },
        id: { type: 'number', autoIncrement: true }
        //--------------------------------------------------------------------------
        //  /\   Using MongoDB?
        //  ||   Replace `id` above with this instead:
        //
        // ```
        // id: { type: 'string', columnName: '_id' },
        // ```
        //--------------------------------------------------------------------------
    }
};
<commit_msg>Remove deprecated config options<commit_after>/**
 * Default model settings
 * (sails.config.models)
 *
 * Your default, project-wide model settings. Can also be overridden on a
 * per-model basis by setting a top-level properties in the model definition.
 *
 * For details about all available model settings, see:
 * https://sailsjs.com/config/models
 *
 * For more general background on Sails model settings, and how to configure
 * them on a project-wide or per-model basis, see:
 * https://sailsjs.com/docs/concepts/models-and-orm/model-settings
 */

export const models = {
    /***************************************************************************
    *                                                                          *
    * How and whether Sails will attempt to automatically rebuild the          *
    * tables/collections/etc. in your schema.                                  *
    *                                                                          *
    * > Note that, when running in a production environment, this will be      *
    * > automatically set to `migrate: 'safe'`, no matter what you configure   *
    * > here.  This is a failsafe to prevent Sails from accidentally running   *
    * > auto-migrations on your production database.                           *
    * >                                                                        *
    * > For more info, see:                                                    *
    * > https://sailsjs.com/docs/concepts/orm/model-settings#?migrate          *
    *                                                                          *
    ***************************************************************************/

    migrate: 'alter',
    associations: {
        list: 'link',
        detail: 'record'
    },
    fetchRecordsOnUpdate: true,
    fetchRecordsOnDestroy: true,
    fetchRecordsOnCreate: true,
    fetchRecordsOnCreateEach: true,
    /***************************************************************************
    *                                                                          *
    * Base attributes that are included in all of your models by default.      *
    * By convention, this is your primary key attribute (`id`), as well as two *
    * other timestamp attributes for tracking when records were last created   *
    * or updated.                                                              *
    *                                                                          *
    * > For more info, see:                                                    *
    * > https://sailsjs.com/docs/concepts/orm/model-settings#?attributes       *
    *                                                                          *
    ***************************************************************************/
    attributes: {
        createdAt: { type: 'ref', columnType: 'date', autoCreatedAt: true },
        updatedAt: { type: 'ref', columnType: 'date', autoUpdatedAt: true },
        id: { type: 'number', autoIncrement: true }
        //--------------------------------------------------------------------------
        //  /\   Using MongoDB?
        //  ||   Replace `id` above with this instead:
        //
        // ```
        // id: { type: 'string', columnName: '_id' },
        // ```
        //--------------------------------------------------------------------------
    }
};

{'fraction_non_alphanumeric': 0.20784313725490197, 'fraction_numerical': 0.0, 'mean_word_length': 1.1964912280701754, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 54, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5852897', 'n_tokens_mistral': 1391, 'n_tokens_neox': 1347, 'n_words': 418}