Opened 8 years ago
Last modified 7 years ago
#44767 reviewing enhancement
dbDelta allow spaces between column names and between lines
| Reported by: | soulseekah | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description (last modified by )
SQL is hard :( make it accept nicer schema definitions with arbitrary space alignments, blank lines, etc.
Attachments (3)
Change History (15)
#2
follow-up:
↓ 5
@
8 years ago
- Keywords has-patch has-unit-tests added
Let me know if I should merge them into one.
#3
@
8 years ago
- Description modified (diff)
- Summary Some dbDelta improvements → dbDelta allow spaces between column names and between lines
#4
@
8 years ago
Related: #36924 dbDelta(): Support more than one whitespace between field name and its type definition
#5
in reply to: ↑ 2
@
8 years ago
Replying to soulseekah:
Let me know if I should merge them into one.
Yes, please, the patch and the tests should generally be in the same file.
#6
@
8 years ago
@SergeyBiryukov these are two different patches one dealing with whitespace, the other newlines, each with tests inside them. They can be applied separately but I attatched both as one changeset.
#10
@
7 years ago
- Milestone 5.2 → 5.3
This ticket has not received any attention during the 5.2 cycle. With beta 1 tomorrow, going to punt this to 5.3.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Allows the schema to be written with spaces and tabs between the column name and the type.
Allows the inclusion of empty lines in the SQL: