Skip to content

tablesDB.createBooleanColumn xdefault doesn't work #12969

Open

Description

@LDY681

👟 Reproduction steps

Call the function:

tablesDB.createBooleanColumn({
    databaseId: APPWRITE_FUNCTION_DATABASE_ID,
    tableId: 'user',
    key: 'hasTrained',
    required: false,
    xdefault: false
});

👍 Expected behavior

All rows in the 'user' table should have 'hasTrained' set to false by default

👎 Actual Behavior

All rows in the 'user' table had 'hasTrained' set to NULL

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

Node SDK V27.1.0
openruntimes/node v5-22
Appwrite Cloud

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Activity

  1. added theissue type on Jul 24, 2026
  2. added
    product / databases
    product / functions
    on Jul 24, 2026
  3. AyushDubey23 commented on Jul 24, 2026

    @AyushDubey23

    I can work on this. Please assign it to me.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    product / databasesproduct / functions

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions