@dbos-inc/dbos-sdk 0.8.53-preview → 0.8.57-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/packages/dbos-cloud/applications/get-app-logs.d.ts +1 -1
- package/dist/packages/dbos-cloud/applications/get-app-logs.d.ts.map +1 -1
- package/dist/packages/dbos-cloud/applications/get-app-logs.js +16 -5
- package/dist/packages/dbos-cloud/applications/get-app-logs.js.map +1 -1
- package/dist/packages/dbos-cloud/cli.js +3 -2
- package/dist/packages/dbos-cloud/cli.js.map +1 -1
- package/dist/schemas/system_db_schema.d.ts +0 -1
- package/dist/schemas/system_db_schema.d.ts.map +1 -1
- package/dist/schemas/system_db_schema.js +0 -74
- package/dist/schemas/system_db_schema.js.map +1 -1
- package/dist/schemas/user_db_schema.d.ts +1 -1
- package/dist/schemas/user_db_schema.d.ts.map +1 -1
- package/dist/schemas/user_db_schema.js +1 -0
- package/dist/schemas/user_db_schema.js.map +1 -1
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +4 -3
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/cli.d.ts +3 -0
- package/dist/src/dbos-runtime/cli.d.ts.map +1 -1
- package/dist/src/dbos-runtime/cli.js +42 -3
- package/dist/src/dbos-runtime/cli.js.map +1 -1
- package/dist/src/dbos-runtime/migrate.d.ts +0 -1
- package/dist/src/dbos-runtime/migrate.d.ts.map +1 -1
- package/dist/src/dbos-runtime/migrate.js +1 -39
- package/dist/src/dbos-runtime/migrate.js.map +1 -1
- package/dist/src/system_database.d.ts +1 -0
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +6 -6
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/telemetry/exporters.d.ts.map +1 -1
- package/dist/src/telemetry/exporters.js +14 -8
- package/dist/src/telemetry/exporters.js.map +1 -1
- package/dist/src/workflow.js +5 -5
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20240201213211_replica_identity.js +15 -0
- 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
|
+
};
|