File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/content/docs/column-types Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import { sql } from "drizzle-orm";
44
44
import { integer , pgTable } from " drizzle-orm/pg-core" ;
45
45
46
46
export const table = pgTable (' table' , {
47
- int1: integer ().default (10 )
47
+ int1: integer ().default (10 ),
48
48
int2: integer ().default (sql ` '10'::int ` )
49
49
});
50
50
@@ -85,7 +85,7 @@ import { sql } from "drizzle-orm";
85
85
import { smallint , pgTable } from " drizzle-orm/pg-core" ;
86
86
87
87
export const table = pgTable (' table' , {
88
- smallint1: smallint ().default (10 )
88
+ smallint1: smallint ().default (10 ),
89
89
smallint2: smallint ().default (sql ` '10'::smallint ` )
90
90
});
91
91
```
@@ -133,7 +133,7 @@ import { sql } from "drizzle-orm";
133
133
import { bigint , pgTable } from " drizzle-orm/pg-core" ;
134
134
135
135
export const table = pgTable (' table' , {
136
- bigint1: bigint ().default (10 )
136
+ bigint1: bigint ().default (10 ),
137
137
bigint2: bigint ().default (sql ` '10'::bigint ` )
138
138
});
139
139
```
You can’t perform that action at this time.
0 commit comments