@dbos-inc/dbos-sdk 0.8.56-preview → 0.8.57-preview

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ exports.up = async function(knex) {
2
+ await knex.raw('create extension if not exists "uuid-ossp"');
3
+ return knex.schema.withSchema('dbos')
4
+ .table('notifications', function(table) {
5
+ table.text('message_uuid').primary().defaultTo(knex.raw('uuid_generate_v4()'));
6
+ })
7
+
8
+ };
9
+
10
+ exports.down = function(knex) {
11
+ return knex.schema.withSchema('dbos')
12
+ .table('notifications', function(table) {
13
+ table.dropColumn('message_uuid');
14
+ });
15
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/dbos-sdk",
3
- "version": "0.8.56-preview",
3
+ "version": "0.8.57-preview",
4
4
  "description": "A Typescript framework built on the database",
5
5
  "license": "MIT",
6
6
  "repository": {