Skip to content

docs(database): document changing a string column to text on Oracle - #15676

Draft
moodyjmz wants to merge 1 commit into
masterfrom
docs/oracle-string-to-text
Draft

moodyjmz wants to merge 1 commit into
masterfrom
docs/oracle-string-to-text

Conversation

@moodyjmz

@moodyjmz moodyjmz commented Oct 1, 2026 •

Copy link
Copy Markdown

☑️ Resolves

Changing a string column to text fails on Oracle (ORA-22858), and the developer manual doesn't say so. This adds a rule to "Supporting more databases" and a new "Changing a string column to text" subsection: the out-of-place copy steps through the schema API, the raw SQL variant that keeps NOT NULL, and how to fix an already released migration.

Depends on nextcloud/server#64935: the "Keeping NOT NULL" bullet names core's Version34000Date20260318095645 as the example, which is only true once that PR is merged.

Repro: MigratorTest::testChangeStringToText fails with ORA-22858: invalid alteration of datatype on Oracle 18 and 23 in CI (nextcloud/server#61912).

🖼️ Screenshots

ora22858-docs-screenshot

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

AI disclosure: written with Claude Code; the commit carries an Assisted-by trailer.

🤖 Generated with Claude Code

Adds a rule to "Supporting more databases" that string columns can not be
changed to text in place on Oracle (ORA-22858), and a subsection on the
out-of-place conversion: the schema API copy steps, the raw SQL variant
that keeps NOT NULL, and fixing an already released migration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
@moodyjmz
moodyjmz force-pushed the docs/oracle-string-to-text branch from 11bcd85 to 134d01f Compare October 1, 2026 08:39
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 1 changed documentation page

Last updated: Thu, 01 Oct 2026 09:15:52 GMT

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant