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

Enhancement/2025 02 added key #390

Merged
merged 5 commits into from
Feb 19, 2025
Merged

Conversation

takapi327
Copy link
Owner

@takapi327 takapi327 commented Feb 17, 2025

Implementation Details

Add functions for setting primaryKey, unique key, and comment

def id: Column[Long] = bigint().primaryKey
def email: Column[String] = varchar(255).uniqueKey
def status: Column[Short] = tinyint().comment("status")

Pull Request Checklist

  • Wrote unit and integration tests
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code formatting by scalafmt (sbt scalafmtAll command execution)
  • Add copyright headers to new files

References

@takapi327 takapi327 added the 💪 enhancement Functional enhancement label Feb 17, 2025
@takapi327 takapi327 added this to the 0.3.0 milestone Feb 17, 2025
@takapi327 takapi327 self-assigned this Feb 17, 2025
@takapi327 takapi327 added the project:schema Addition and modification of functionality to Schema projects label Feb 18, 2025
@takapi327 takapi327 merged commit a2a5904 into master Feb 19, 2025
27 checks passed
@takapi327 takapi327 deleted the enhancement/2025-02-Added-key branch February 19, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement Functional enhancement project:schema Addition and modification of functionality to Schema projects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant