Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong migration generation when column default value is set to null #6950 #7356

Merged
merged 6 commits into from
Feb 9, 2021

Conversation

AlexMesser
Copy link
Collaborator

@AlexMesser AlexMesser commented Feb 8, 2021

Description of change

Fixed wrong migration generation when column default value is set to null.
Additionally fixed wrong comment comparisons.

refactor: removed public schema from test since it is not related to the testing subject and causes mssql driver fail because public is reserved keyword in SqlServer.

Fixes: #6950

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run lint passes with this change
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@pleerock pleerock changed the title fix: #6950; fix: wrong migration generation when column default value is set to null #6950 Feb 8, 2021
@pleerock pleerock mentioned this pull request Feb 9, 2021
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

postgres: Inappropiate migration generated for 'default: null'
1 participant