cockroachdb / cockroachdb/examples-orms

Create table statement incorrect on front page

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
82
Forks
37
PR merge metrics
No merged PRs in 30d

Description

There needs to a common after the DECIMAL declaration.

root@:26257/company_java_hibernate> CREATE TABLE IF NOT EXISTS orders (
-> id SERIAL PRIMARY KEY,
-> subtotal DECIMAL(18,2)
-> customer_id INT REFERENCES customers(id),
-> );
invalid syntax: statement ignored: syntax error at or near "customer_id"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.