nextcloud / nextcloud/tables

Allow to change data type for a table if there are no rows yet

Open
#730 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Is your feature request related to a problem? Please describe.

Sometimes while creating a table, one might see that a data type works better than another for a given purpose. Currently, it's not possible to edit the data type. One has to manually delete the column and recreate it with the desired data type.

Describe the solution you'd like

Allow to change data type for a table if there are no rows yet

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how table columns are edited and where data types are validated or persisted. Confirm how the application detects that a table has no rows, then define the change as allowing an existing column's type to be changed only in that state; verify that populated tables retain the current restriction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.