GithubHelp home page GithubHelp logo

laroo / grocery-crud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scoumbourdis/grocery-crud

0.0 0.0 0.0 12.8 MB

PostgreSQL implementation of Grocery CRUD

Home Page: http://www.grocerycrud.com

License: GNU General Public License v3.0

PHP 18.82% CSS 4.87% JavaScript 75.65% Shell 0.01% ActionScript 0.65%

grocery-crud's People

Contributors

arif-rh avatar brandesign avatar bzuro avatar eanurku avatar erdenemunkh avatar ethaizone avatar gofrendiasgard avatar greysama avatar jfox-sk avatar kaabi avatar kjarrio avatar la3qma avatar luiscoms avatar mrksmts avatar rogeriopradoj avatar scoumbourdis avatar skoricit avatar vlakoff avatar webfikirleri avatar willmendesneto avatar

Watchers

 avatar

grocery-crud's Issues

Fail to select correct primary key in PostgreSQL.

Grocery-CRUD fails to select the correct primary key when adding a 'set_relation' and just select the first available index:

CREATE TABLE global.global_statuses (
  statusid INTEGER NOT NULL,
  title TEXT NOT NULL,
  CONSTRAINT pk_global_statuses PRIMARY KEY(statusid)
) 
WITH (oids = false);

CREATE UNIQUE INDEX idx_global_statuses_title_unique ON global.global_statuses
  USING btree (title COLLATE pg_catalog."default");

idx_global_statuses_title_unique (first in indices-list) is being chosen:

ERROR: operator does not exist: text = integer LINE 6: ...bal_statuses" as jf344c075 ON "jf344c075"."title" = "tiqets"... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.