Skip to content

Commit

Permalink
Update migration-v1.3-v1.4.md
Browse files Browse the repository at this point in the history
Update instructions
  • Loading branch information
jcace authored Jun 2, 2023
1 parent 626a6f5 commit 886d2dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/migrations/migration-v1.3-v1.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ If you have an existing database from DDM V1.3, you will need to *manually* migr
Note: This migration is only necessary as we did not have the automatic migration framework in place prior to this release. Thus, we are using manual SQL to ensure database consistency.
Going forward, this will not be required as the **baseline schema established in V1.4 allows for automatic migrations. **

**Before running the Manual SQL**, please start up DDM V1.4.0, allow it to apply some schema changes, then shut it down and proceed.

## Manual SQL
Please execute the following SQL statements in your DDM database.

Expand Down Expand Up @@ -78,4 +80,4 @@ ALTER TABLE contents_new RENAME TO contents;
```sql
UPDATE replications SET ss_is_self_service = is_self_service;
ALTER TABLE replications RENAME COLUMN is_self_service TO deprecated_is_self_service;
```
```

0 comments on commit 886d2dd

Please sign in to comment.