mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-26 09:05:55 +03:00
[GH-ISSUE #56] sqlite db displays on {} on http://0.0.0.0:5000/ #38
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
refactoring
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sandman2-jeffknupp#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MortalCatalyst on GitHub (Mar 6, 2017).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/56
Following the instructions on the main githiub page I attempt to connect to a small db that I have started creating. However I am receiving only when I open the localhost
I am in the same directory and connect to the db race.db you can see here in this structure, I connect no errors just am not receiving the expected output.
Not sure what would help so to show db has valid data I pulled it console using sql2csv.
@jeffknupp commented on GitHub (Mar 6, 2017):
That's quite odd. Is
race.dbsomething you would be comfortable attaching so I can investigate more?@MortalCatalyst commented on GitHub (Mar 7, 2017):
race.db.zip
@jeffknupp commented on GitHub (Mar 7, 2017):
Ah. The problem here is that there are no primary keys defined. Without a primary key, it's not really possible to create a REST API as there's no way to uniquely refer to an individual resource.
@MortalCatalyst commented on GitHub (Mar 11, 2017):
Ah okay easy fixed on my end. Thanks.