We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b5da6 commit 30eb01eCopy full SHA for 30eb01e
packages/common-postgres/migrations/001-init.ts
@@ -18,15 +18,6 @@ export async function up(db: Kysely<any>) {
18
.addColumn('shortname', 'varchar(8)', (col) => col.notNull())
19
.execute()
20
21
- await db.schema
22
- .createTable('measurement')
23
- .addColumn('time', 'timestamptz', (col) => col.notNull())
24
- .addColumn('source', 'text', (col) => col.notNull())
25
- .addColumn('temperature', 'double precision', (col) => col.notNull())
26
- .addColumn('humidity', 'double precision', (col) => col.notNull())
27
- .addColumn('pressure', 'double precision', (col) => col.notNull())
28
- .execute()
29
-
30
// Make hypertable
31
await sql`
32
SELECT create_hypertable('measurement','time');
0 commit comments