summaryrefslogtreecommitdiff
path: root/api/src/main/resources/db/migration/V5__alter-table-patients-add-column-active.sql
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/main/resources/db/migration/V5__alter-table-patients-add-column-active.sql')
-rw-r--r--api/src/main/resources/db/migration/V5__alter-table-patients-add-column-active.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/main/resources/db/migration/V5__alter-table-patients-add-column-active.sql b/api/src/main/resources/db/migration/V5__alter-table-patients-add-column-active.sql
new file mode 100644
index 0000000..c6432e6
--- /dev/null
+++ b/api/src/main/resources/db/migration/V5__alter-table-patients-add-column-active.sql
@@ -0,0 +1,2 @@
+alter table patients add active tinyint;
+update patients set active = 1; \ No newline at end of file