nextcloud / nextcloud/tables

tables :: db format :: option to create and independent db table

Open
#2,270 0 comments 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.

Selecting and saving the exact table (as in tables::) from the MariaDB tables is un-natural.
Moreover programatically adding data in the NextCloud table by directly input into MariaDB, is problematic.

Describe the solution you'd like

I can understand that there could be some backward compatibility problems, so it would be useful to have an option when creating a table to set something like "Create individual table", and this would actually create a DB table with a meaningful name (like oc_tables_table_<id>), with the column definition given by the definitions/additions of columns.

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 tables are created and how their column definitions are stored in the MariaDB-backed app. Investigate the existing tables:: format and the backward-compatibility concerns described in the issue. Done would mean a creation option can produce an independently named database table with the configured columns without breaking existing tables.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.