mirror of
https://github.com/fergalmoran/EFCore.NamingConventions.git
synced 2025-12-22 09:38:21 +00:00
Small adjustment (#176)
This commit is contained in:
@@ -31,9 +31,10 @@ This will automatically make all your table and column names have snake_case nam
|
|||||||
|
|
||||||
```sql
|
```sql
|
||||||
CREATE TABLE customers (
|
CREATE TABLE customers (
|
||||||
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||||
full_name text NULL,
|
full_name text NULL,
|
||||||
CONSTRAINT "PK_customers" PRIMARY KEY (id);
|
CONSTRAINT "pk_customers" PRIMARY KEY (id)
|
||||||
|
);
|
||||||
|
|
||||||
SELECT c.id, c.full_name
|
SELECT c.id, c.full_name
|
||||||
FROM customers AS c
|
FROM customers AS c
|
||||||
|
|||||||
Reference in New Issue
Block a user