Skip to content

Commit

Permalink
refactor: change default route quota to unlimited for organizations
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed May 7, 2024
1 parent b470e13 commit b450ffa
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.up = function(knex) {
return knex.schema
.raw(`ALTER TABLE organization ALTER quota_route SET DEFAULT -1;`)
};

/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.down = function(knex) {
return knex.schema
.raw(`ALTER TABLE organization ALTER quota_route SET DEFAULT 5;`)
};

0 comments on commit b450ffa

Please sign in to comment.