Increased nice_name field length to allow a larger number of LE certificates generation

This commit is contained in:
Evgenii_Kharasov 2019-11-14 01:57:23 +03:00
parent ea5bdab374
commit f231897863
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ exports.up = function (knex/*, Promise*/) {
table.integer('owner_user_id').notNull().unsigned();
table.integer('is_deleted').notNull().unsigned().defaultTo(0);
table.string('provider').notNull();
table.string('nice_name').notNull().defaultTo('');
table.string('nice_name', 2000).notNull().defaultTo('');
table.json('domain_names').notNull();
table.dateTime('expires_on').notNull();
table.json('meta').notNull();

View file

@ -172,7 +172,7 @@
"description": "Domain Names separated by a comma",
"example": "*.jc21.com,blog.jc21.com",
"type": "array",
"maxItems": 15,
"maxItems": 50,
"uniqueItems": true,
"items": {
"type": "string",