Skip to content

How to create table with ON CONFLICT strategy? #1264

Open

Description

@realtebo

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.

Activity

  1. justinclift commented on Dec 10, 2017

    @justinclift
    Member

    Hmmm, you'll probably need to manually execute the CREATE statement in the Execute SQL tab, as we haven't yet added support for that in the table creation dialog.

    Sorry there's not a better answer yet. 😉

  2. MKleusberg commented on Dec 15, 2017

    @MKleusberg
    Member

    I'll reopen the issue because it's definitely something we should implement at some point 😄 And if the issue is still open we have a nice reminder to do so.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions