Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Commit

Permalink
hub/schema: delta files
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvisabo committed May 13, 2019
1 parent e4afc9f commit 6d4bc70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -11,6 +11,8 @@ See [Getting Started](docs/getting_started.md) for information on how to use the
## Supported database systems
- MariaDB. **DO NOT USE MySQL**. MySQL does not support CHECK constraints for data integrity. *We only test against MariaDB.*
Please ensure that your MariaDB version is **>= 10.2.1** as this is the first version supporting [CHECK constraints](https://mariadb.com/kb/en/library/constraint/#check-constraints)

- Source the _delta.xxx.sql_ file if you are updating Hub's version to get all schema changes

## Developing RPCHub
- Make sure that `buildifier` and `clang-format` are available on your `PATH`: (`go get -u github.com/bazelbuild/buildtools/buildifier`)
Expand Down
1 change: 1 addition & 0 deletions schema/delta.mariadb.sql
@@ -0,0 +1 @@
ALTER TABLE user_address_balance ADD COLUMN IF NOT EXISTS message TEXT(2187) DEFAULT NULL;
1 change: 1 addition & 0 deletions schema/delta.sqlite3.sql
@@ -0,0 +1 @@
ALTER TABLE user_address_balance ADD COLUMN message TEXT(2187) DEFAULT NULL;

0 comments on commit 6d4bc70

Please sign in to comment.