Skip to content

Commit

Permalink
Fix migration script to include if not exits table
Browse files Browse the repository at this point in the history
  • Loading branch information
manelp committed Jun 30, 2023
1 parent 9111a72 commit 066941c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Migration20230623 : KotlinMigration("20230623", "Initial migration") {
override suspend fun migrate() {
update(
"""
|create table time_entries(
|create table if not exists time_entries(
|id serial,
|developer text not null,
|project text not null,
Expand Down

0 comments on commit 066941c

Please sign in to comment.