createTable/column is not behaving the same as addColumn
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
When there a table creation written by the plugin `createTable/column` :
java.lang.Integer = type: "INT"
org.joda.time.LocalDateTime = type: "timestamp" (my dialect is not taken into account, it should be timestamptz)
When there is a column added written by the plugin `addColumn` :
java.lang.Integer = type: "int4"
org.joda.time.LocalDateTime = type: "timestamptz"
The schema is not consistent.
Contributor guide
Research direction
Start by comparing the createTable/column and addColumn plugin entry points, focusing on how each maps Integer and LocalDateTime types and applies the database dialect. Reproduce both schema-generation paths and verify that table creation produces the same dialect-aware types as adding the columns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100