sqlitebrowser / sqlitebrowser/sqlitebrowser

Can't create foreign key in the gui

Open
#2,044 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug gui
Dominant language
C++
Stars
24.6k
Forks
2.4k
Avg merge
3d 49m
Merged PRs (30d)
3

Description

I am trying to create a foreign key in a table using the create table GUI, I can use the foreign key field (which is very intuitive with the drop downs listing the other tables and its fields), however when I click on Ok the table gets created with all fields but without the foreign key constraint.

sqlitebrowser

OS: Linux, Ubuntu 19.10
DB4S: Version 3.11.2 (Installed via PPA)

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue in the create-table GUI using the foreign-key table and field dropdowns, on the reported DB4S setup if available. Verify whether the created table contains the requested foreign-key constraint; done means the constraint is preserved after clicking Ok.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sqlite
Domain
database, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.