FIX: Missed one. Sequences need to be set to at least 1

FIX: Missed one. Sequences need to be set to at least 1

diff --git a/db/migrate/20200810053843_create_data_explorer_queries.rb b/db/migrate/20200810053843_create_data_explorer_queries.rb
index 4324851..f7a3e0f 100644
--- a/db/migrate/20200810053843_create_data_explorer_queries.rb
+++ b/db/migrate/20200810053843_create_data_explorer_queries.rb
@@ -75,7 +75,7 @@ class CreateDataExplorerQueries < ActiveRecord::Migration[6.0]
       SELECT
         setval(
           pg_get_serial_sequence('data_explorer_queries', 'id'),
-          (select max(id) from data_explorer_queries)
+          (select greatest(max(id), 1) from data_explorer_queries)
         );
     SQL
   end

GitHub sha: 49a76c9e