Skip to content

Foreign Keys not accepted, version 3.5.1 on Slackware-14.1 #638

Closed

Description

@rs-aesi

Tried creating a relational database with 3 tables; one parent and 2 children. Went to the Edit pragmas tab and clicked on the Foreign key checkbox. As soon as I return to the Database structure tab that pragma was turned off. Cannot create the db within the application.

Same problem occurs trying to import the db schema from a .sql file; the foreign keys are not recognized or accepted.

Wish there was documentation for this application.

Rich

Activity

  1. justinclift commented on Jul 8, 2016

    @justinclift
    Member

    Hey Rich,

    Sorry for the troubles. Our foreign key handing (and constraints in general) needs a lot of work. So, it's completely possible that you're doing things fine... and the application is just not where it needs to be.

    As a thought though, we have made a few bug fixes and general tweaks to things over the last few versions. There's a reasonable chance (but no guarantee 😦 sorry) that the bug you're hitting has been fixed by our more recent versions.

    As you're on Linux, it should be pretty simple to compile things from our latest source code, if that's something you're ok trying. We have a build guide with general instructions for Linux, if that helps:

        https://github.com/sqlitebrowser/sqlitebrowser/blob/master/BUILDING.md#generic-linux-and-freebsd

    Is that something you're ok to try out? 😄

  2. rs-aesi commented on Jul 8, 2016

    @rs-aesi
    Author
  3. justinclift commented on Jul 8, 2016

    @justinclift
    Member

    No worries. When you go to compile it again, try grabbing our latest source code ("master branch") from GitHub.

    We're way overdue for a new release, and there have been a good number of bug fixes since 3.8.0. 😉

  4. rs-aesi commented on Jul 8, 2016

    @rs-aesi
    Author
  5. justinclift commented on Jul 8, 2016

    @justinclift
    Member

    Sure, no rush here. 😄

  6. mgrojo commented on Sep 1, 2018

    @mgrojo
    Member

    @rs-aesi I think this issue is already solved. We have made also various improvements with table with foreign keys. Do you mind getting a nightly build or compiling from the master branch for confirming it?

  7. rs-aesi commented on Sep 1, 2018

    @rs-aesi
    Author
  8. justinclift commented on Sep 1, 2018

    @justinclift
    Member

    No worries. Thanks for getting back to us @rs-aesi. 😄

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions