Commit a72ef9a8 authored by William Naslund's avatar William Naslund

Added date and datetime types

parent bdce0876
import { DBType } from "./type";
export class DBDate implements DBType {
create() {
return `DATE`;
}
}
export class DBDateTime implements DBType {
create() {
return `TIMESTAMP WITH TIMEZONE`;
}
}
......@@ -6,4 +6,5 @@ export * from "./integer";
export * from "./numeric";
export * from "./id-sequence";
export * from "./uuid";
export * from "./blob";
\ No newline at end of file
export * from "./blob";
export * from "./date";
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment