-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Description
Feature Description
Currently, only the macaddr type is supported in @Column(), but not macaddr8.
https://www.postgresql.org/docs/14/datatype-net-types.html#DATATYPE-MACADDR8
The Solution
Can include the column type macaddr8 in @Column()
@Column({ type: 'macaddr8' })
macAddress: stringConsidered Alternatives
No alternatives. What I can do for now is using the varchar instead, and then validate the string value before saving it to db.
Additional Context
No response
Relevant Database Driver(s)
- aurora-mysql
- aurora-postgres
- better-sqlite3
- cockroachdb
- cordova
- expo
- mongodb
- mysql
- nativescript
- oracle
- postgres
- react-native
- sap
- spanner
- sqlite
- sqlite-abstract
- sqljs
- sqlserver