Skip to content

Conversation

@qqxhb
Copy link
Member

@qqxhb qqxhb commented Oct 15, 2025

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

What did this pull request do?

User Case Description

@propel-code-bot
Copy link

Add Column Attribute to Field Struct

This pull request augments the Field struct in internal/model/base.go by introducing a new pointer attribute, Column. The change is carried through to the ToField method in internal/model/tbl_column.go, ensuring that the Column attribute of a generated Field instance references the source Column object, enabling richer field metadata association for later use.

Key Changes

• Added new Column *Column field to the Field struct in internal/model/base.go
• Updated the ToField method in internal/model/tbl_column.go to assign the current Column instance to the new Column attribute of the Field

Affected Areas

internal/model/base.go
internal/model/tbl_column.go

This summary was automatically generated by @propel-code-bot

Copy link

@propel-code-bot propel-code-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ship it! 🚢

Details
Why was this auto-approved?
AI analysis completed with no actionable comments or suggestions.

@tr1v3r tr1v3r merged commit abdeadd into master Oct 15, 2025
14 checks passed
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