• Mario de la Ossa's avatar
    User#projects_limit remove DB default and added NOT NULL constraint · 75cf5f5b
    Mario de la Ossa authored
    This change is required because otherwise if a user is created with a
    value for `projects_limit` that matches the DB default, it gets
    overwritten by `current_application_settings.default_projects_limit`. By
    removing the default we once again can allow a user to be created with a
    limit of 10 projects without the risk that it'll change to 10000
    75cf5f5b
user_spec.rb 82.3 KB