Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
277 changes: 0 additions & 277 deletions .github/workflows/ci-win.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/github_bot.yml

This file was deleted.

2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [v0.4] (2025-02-12)

### ADDED

Python SDK - jamaibase
Expand Down
44 changes: 40 additions & 4 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,48 @@
# Migration Guide

## [v0.4.0]

This guide provides instructions to perform a database migration that adds a `version` column and `object` attribute to all gen_config in all action tables. (Migration from owl version earlier than v0.4.0).

### Prerequisites

1. Ensure **owl/jamaibase** has been updated to at least **v0.4.0**.

### Steps to Perform the Migration

1. Navigate to the **JamAIBase** repository directory (with `./db` and `./scripts` in it).

```bash
cd <JamAIBase repository directory>
```

2. Run the migration script (ensure the current Python environment is the one with **owl** installed):
```bash
python scripts/migration_v040.py
```

### Expected Output

- The script will print messages indicating whether the `file` column was renamed to `image` column.
- The script will print messages indicating whether the `Page` column was added to knowledge table or if it already exist.
- If any errors occur, they will be printed to the console.

### Troubleshooting

- Ensure that the migration script is run in the **JamAIBase** repository directory (`./db` and `./scripts` directories should be in this working directory).
- Ensure the Python environment is the one with **owl** installed.
- Check the script's error messages for any issues encountered during the migration process.
- Contact us for further assistance.

## [v0.3.0]

This guide provides instructions to perform a database migration that adds a `version` column and `object` attribute to all gen_config in all action tables. (Migration from owl version earlier than v0.3.0).

## Prerequisites
### Prerequisites

1. Ensure **owl/jamaibase** has been updated to at least **v0.3.0**.

## Steps to Perform the Migration
### Steps to Perform the Migration

1. Navigate to the **JamAIBase** repository directory (with `./db` and `./scripts` in it).

Expand All @@ -19,13 +55,13 @@ This guide provides instructions to perform a database migration that adds a `ve
python scripts/migration_v030.py
```

## Expected Output
### Expected Output

- The script will print messages indicating whether the `version` column was added or if it already exists in each database.
- The script will print messages indicating whether the `object` attribute was added into each `gen_config`.
- If any errors occur, they will be printed to the console.

## Troubleshooting
### Troubleshooting

- Ensure that the migration script is run in the **JamAIBase** repository directory (`./db` and `./scripts` directories should be in this working directory).
- Ensure the Python environment is the one with **owl** installed.
Expand Down
Loading
Loading