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

Add alter column support #44

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lafriks
Copy link
Contributor

@lafriks lafriks commented Nov 8, 2022

Reference implementation.

Depends on go-rel/rel#324

@codecov
Copy link

codecov bot commented Nov 8, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (965fb04) compared to base (3bae971).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          624       638   +14     
=========================================
+ Hits           624       638   +14     
Impacted Files Coverage Δ
builder/table.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

// WriteAlterColumn definition to buffer.
func (t Table) WriteAlterColumn(buffer *Buffer, column rel.Column) {
switch column.Constr {
case rel.AlterColumnType:
Copy link
Member

Choose a reason for hiding this comment

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

I see 👍

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.

None yet

2 participants