Skip to content

Commit

Permalink
chore: more permissive length strings in migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Oct 1, 2024
1 parent e5b7498 commit e852bb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services/api/database/migrations/20220908065119_initial_db.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
table.string('type', 100).notNullable();
table.integer('environment');
table.integer('project');
table.string('group_name', 50);
table.string('group_name', 300);
table.enu('permission', ['GUEST', 'DEVELOPER', 'MAINTAINER']).defaultTo('GUEST');
table.specificType('command', 'text');
table.string('confirmation_text', 2000);
Expand Down Expand Up @@ -126,12 +126,12 @@
table.integer('environment');
table.string('severity', 300).defaultTo('');
table.decimal('severity_score', 1, 1).defaultTo(0);
table.string('identifier', 50).notNullable();
table.string('lagoon_service', 50).defaultTo('');
table.string('identifier', 100).notNullable();
table.string('lagoon_service', 100).defaultTo('');
table.string('source', 300).defaultTo('');
table.string('associated_package', 300).defaultTo('');
table.specificType('description', 'text');
table.string('version', 50).defaultTo('');
table.string('version', 100).defaultTo('');
table.string('fixed_version', 300).defaultTo('');
table.string('links', 300).defaultTo('');
table.json('data');
Expand Down

0 comments on commit e852bb1

Please sign in to comment.