GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — The generated "Create Code" for a table in a sqlite database is invalid · Issue #2589 · HeidiSQL/HeidiSQL

The generated "Create Code" for a table in a sqlite database is invalid #2589

New issue
Copy link
New issue
Copy link
Open
Open
The generated "Create Code" for a table in a sqlite database is invalid#2589
Copy link
Labels
bugDefective behaviour in HeidiSQLDefective behaviour in HeidiSQL

Description

@Virock
Virock
opened on Sep 1, 2026
Issue body actions

Description

I created a table "Recents" in an sqlite database using the app, and the generated sql is the following (I removed the quotation marks):

CREATE TABLE Recents (
  id INTEGER NOT NULL AUTO_INCREMENT,
  path TEXT NOT NULL,
  accessTime INTEGER NOT NULL,
  PRIMARY KEY (id)
);
CREATE INDEX accessTime ON Recents (accessTime);

But this is invalid sql for sqlite.
The correct sql would be:

CREATE TABLE Recents (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    path TEXT NOT NULL,
    accessTime INTEGER NOT NULL
);

CREATE INDEX accessTime ON Recents (accessTime);

Can you please fix the system that generated the "Create Code"

HeidiSQL version and OS

12.21.0.7346 Windows

Database server version

Sqlite

Reproduction recipe

Create a table using the app gui in an sqlite database that would have the configuration as in the description form above.

Error/Backtrace

Activity

  1. Virock
    added
    bugDefective behaviour in HeidiSQLDefective behaviour in HeidiSQL
    on Sep 1, 2026
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

    bugDefective behaviour in HeidiSQLDefective behaviour in HeidiSQL

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.