nextcloud / nextcloud/tables

Column Creation Error

Open
#2,546 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce
  1. Install Tables
  2. Create a new table
  3. Create any kind of column
Expected behavior

A new column should be created.

Actual behavior

[tables] Error: An internal error or exception occurred: OCA\Tables\Service\ColumnService - create: An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'custom_settings' in 'INSERT INTO'
POST /apps/tables/api/1/columns
from 172.21.0.1 by admin at 28.04.2026, 10:03:25

Tables app version

2.0.1

Browser

Firefox 150.0

Client operating system

Windows 11

Operating system

Docker Nextcloud community image on Ubuntu host

Web server

Apache

PHP engine version

PHP 8.3

Database

MariaDB

Additional info

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 at OCA\Tables\Service\ColumnService::create, reached through POST /apps/tables/api/1/columns, and inspect how the custom_settings field is used in the INSERT. Reproduce the reported steps against Tables 2.0.1 with MariaDB; done means creating any column succeeds without the unknown-column error.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, php
Domain
api, backend, database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.