sqlitebrowser / sqlitebrowser/sqlitebrowser

How to create table with ON CONFLICT strategy?

Open
#1,264 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm totally new of your tool.

I've an 1-year old sqlite db with this following create statement

CREATE TABLE Links (Title TEXT, Data TEXT, Magnet TEXT, Found NUMERIC DEFAULT 0, primary key (Magnet) ON CONFLICT REPLACE)

As you can see, I've an ON CONFLICT strategy here.

I'm not able to create a new table with the same strategy using your tool.

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

Start with the supplied SQLite CREATE TABLE statement and reproduce the table-creation flow in DB Browser for SQLite. Determine whether the UI can express PRIMARY KEY ... ON CONFLICT REPLACE; done means a table can be created with that conflict strategy and the resulting schema matches the statement.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.