Skip to content

Commit

Permalink
Merge pull request #217 from namecheap/fix/mysql-error
Browse files Browse the repository at this point in the history
Remove default value from `meta` column in `settings` table due to it…
  • Loading branch information
oleh-momot authored Oct 26, 2020
2 parents 38a2ffe + 9e9a6a7 commit 6b675ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/server/migrations/20201012152003_settings_meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function up(knex: Knex): Promise<void> {
table.text('default');
table.enum('scope', [Scope.Ilc, Scope.Registry]).notNullable().defaultTo('registry');
table.boolean('secret').notNullable().defaultTo(false);
table.json('meta').notNullable().defaultTo(JSON.stringify({}));
table.json('meta');
});
};

Expand Down

0 comments on commit 6b675ff

Please sign in to comment.