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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/packages/dbos-cloud/applications/delete-app.d.ts.map +1 -1
  2. package/dist/packages/dbos-cloud/applications/delete-app.js +3 -2
  3. package/dist/packages/dbos-cloud/applications/delete-app.js.map +1 -1
  4. package/dist/packages/dbos-cloud/applications/deploy-app-code.d.ts.map +1 -1
  5. package/dist/packages/dbos-cloud/applications/deploy-app-code.js +3 -2
  6. package/dist/packages/dbos-cloud/applications/deploy-app-code.js.map +1 -1
  7. package/dist/packages/dbos-cloud/applications/get-app-logs.d.ts.map +1 -1
  8. package/dist/packages/dbos-cloud/applications/get-app-logs.js +3 -2
  9. package/dist/packages/dbos-cloud/applications/get-app-logs.js.map +1 -1
  10. package/dist/packages/dbos-cloud/applications/list-apps.d.ts.map +1 -1
  11. package/dist/packages/dbos-cloud/applications/list-apps.js +3 -2
  12. package/dist/packages/dbos-cloud/applications/list-apps.js.map +1 -1
  13. package/dist/packages/dbos-cloud/applications/register-app.d.ts.map +1 -1
  14. package/dist/packages/dbos-cloud/applications/register-app.js +3 -2
  15. package/dist/packages/dbos-cloud/applications/register-app.js.map +1 -1
  16. package/dist/packages/dbos-cloud/applications/update-app.js +6 -6
  17. package/dist/packages/dbos-cloud/applications/update-app.js.map +1 -1
  18. package/dist/packages/dbos-cloud/cli.js +6 -10
  19. package/dist/packages/dbos-cloud/cli.js.map +1 -1
  20. package/dist/packages/dbos-cloud/cloudutils.d.ts +7 -0
  21. package/dist/packages/dbos-cloud/cloudutils.d.ts.map +1 -1
  22. package/dist/packages/dbos-cloud/cloudutils.js +8 -1
  23. package/dist/packages/dbos-cloud/cloudutils.js.map +1 -1
  24. package/dist/packages/dbos-cloud/login.js +1 -1
  25. package/dist/packages/dbos-cloud/login.js.map +1 -1
  26. package/dist/packages/dbos-cloud/register.d.ts.map +1 -1
  27. package/dist/packages/dbos-cloud/register.js +36 -7
  28. package/dist/packages/dbos-cloud/register.js.map +1 -1
  29. package/dist/packages/dbos-cloud/userdb.d.ts +3 -3
  30. package/dist/packages/dbos-cloud/userdb.d.ts.map +1 -1
  31. package/dist/packages/dbos-cloud/userdb.js +14 -7
  32. package/dist/packages/dbos-cloud/userdb.js.map +1 -1
  33. package/dist/src/workflow.js +1 -1
  34. package/dist/src/workflow.js.map +1 -1
  35. package/dist/tsconfig.build.tsbuildinfo +1 -1
  36. package/migrations/20240201213211_replica_identity.js +15 -0
  37. package/package.json +1 -1
@@ -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.61-preview",
4
4
  "description": "A Typescript framework built on the database",
5
5
  "license": "MIT",
6
6
  "repository": {