This will guide will help you to migrate your existing bots from Botpress v0.0 to v0.1.
The following database tables will be lost:
- botpress-analytics: all analytics
- botpress-subscription: all subscriptions
- botpress-schedulers: all schedules (past & next)
- botpress-hitl: all messages and sessions
- botpress-broadcast: all scheduled broadcasts and previous broadcasts history
All modules configuration will be lost.
We strongly recommend that you backup your bot and all of its files before you migrate to 0.1. If you wish to keep your database tables, you should back them up manually.
Botpress is still in beta and we're still changing APIs while we can. In this release, we changed how the data was persisted to the database and the format of this data.
We wrote a migration for the users
database table because we believe it is the only mission critical table that people would really want to preserve. The other tables can still be migrated, you just have to migrate them yourself.
- Backup your bot, including the ./data and ./modules_config directories
- Update botpress to 0.1:
npm install -S botpress
- (optional) Update your global botpress:
npm install -g botpress
- Update all your modules manually:
botpress install module_name
- In a terminal inside your bot directory, run:
DELETE_TABLES=true botpress migrate 0.0
- Reconfigure every modules manually
- Added support for Postgres (version 5.5+)
- Built-in convenience Key-Value-Store (persisted to database)
- Themeable UI
- Guided tour for new bots
- Modules configuration persisted to database
- Configuration is overridable in botfile
- A migration CLI tool
- Support for Async/Await operators
- Modules can provide custom icons
- Many bug fixes and improvements