@mastra/libsql 1.8.0-alpha.0 → 1.8.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3902,6 +3902,16 @@ var ExperimentsLibSQL = class extends ExperimentsStorage {
3902
3902
  tableName: TABLE_EXPERIMENT_RESULTS,
3903
3903
  schema: EXPERIMENT_RESULTS_SCHEMA
3904
3904
  });
3905
+ await this.#db.alterTable({
3906
+ tableName: TABLE_EXPERIMENTS,
3907
+ schema: EXPERIMENTS_SCHEMA,
3908
+ ifNotExists: ["agentVersion"]
3909
+ });
3910
+ await this.#db.alterTable({
3911
+ tableName: TABLE_EXPERIMENT_RESULTS,
3912
+ schema: EXPERIMENT_RESULTS_SCHEMA,
3913
+ ifNotExists: ["status", "tags"]
3914
+ });
3905
3915
  await this.#client.execute({
3906
3916
  sql: `CREATE INDEX IF NOT EXISTS idx_experiments_datasetid ON "${TABLE_EXPERIMENTS}" ("datasetId")`,
3907
3917
  args: []