Skip to content

Commit

Permalink
fix(mysql): normalize false to 0 in defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Adamek committed Mar 6, 2020
1 parent 0f1c58b commit caff3fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/schema/MySqlSchemaHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class MySqlSchemaHelper extends SchemaHelper {
static readonly DEFAULT_VALUES = {
'now()': ['now()', 'current_timestamp'],
'current_timestamp(?)': ['current_timestamp(?)'],
'0': ['0', 'false'],
};

getSchemaBeginning(): string {
Expand Down

0 comments on commit caff3fd

Please sign in to comment.