Skip to content

Conversation

@MrChaos1993
Copy link
Contributor

@MrChaos1993 MrChaos1993 commented Aug 31, 2023

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

Fixing incorrect default value in auto generated models.

User Case Description

The current version(master) ignore default value if it contains type cast.

also will fix following PR:
#210
#201

related issues:
go-gorm/gorm#6543

related PR:
#143

@MrChaos1993 MrChaos1993 changed the title fix: default value with typecast fix: default value with typecast + tests Aug 31, 2023
@MrChaos1993 MrChaos1993 changed the title fix: default value with typecast + tests fix: default value with typecast and tests Oct 5, 2023
@jinzhu
Copy link
Member

jinzhu commented Oct 8, 2023

Sorry for the confliction due to merge PR #210, can you fix them, thank you.

@jinzhu jinzhu merged commit 89bd876 into go-gorm:master Oct 10, 2023
PuneetPunamiya pushed a commit to PuneetPunamiya/postgres that referenced this pull request Jan 17, 2024
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.

3 participants