🐛 (seaorm): Crea timestamp() con zona horaria
Las entidades guardan los instantes como DateTimeUtc, que PostgreSQL sólo lee desde TIMESTAMPTZ. timestamp() y timestamp_null() pasan a crear columnas con zona horaria; en MySQL y SQLite no cambia nada en la práctica.
This commit is contained in:
parent
90e4f85bd4
commit
4cd75af8d2
2 changed files with 7 additions and 3 deletions
|
|
@ -103,7 +103,7 @@
|
|||
//! | `string_uniq(col)` | `VARCHAR NOT NULL UNIQUE` |
|
||||
//! | `integer(col)` | `INTEGER NOT NULL` |
|
||||
//! | `boolean(col)` | `BOOLEAN NOT NULL` |
|
||||
//! | `timestamp(col)` | `TIMESTAMP NOT NULL` |
|
||||
//! | `timestamp(col)` | `TIMESTAMP WITH TIME ZONE NOT NULL` |
|
||||
//! | `uuid(col)` | `UUID NOT NULL` |
|
||||
//!
|
||||
//! Estas son sólo las funciones más habituales. El módulo [`schema`] define la lista completa, con
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue