drizzle-team / drizzle-team/drizzle-orm
[BUG]: Property decimal does not exist on type, when using pgTable in drizzle orm
Open
bug
db/postgres
priority
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### What version of `drizzle-orm` are you using?
0.34.0
### What version of `drizzle-kit` are you using?
0.25.0
### Describe the Bug
I got: TS2339: Property decimal does not exist on type when writing this code
```
import {pgTable} from "drizzle-orm/pg-core";
export const table = pgTable(
"table",
(t) => ({
column: t.decimal(),
}),
);
```
Is this on purpose and should be replaced by numeric? Thank's.
### Expected behavior
_No response_
### Environment & setup
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.