Skip to content

Commit

Permalink
Fixup database.
Browse files Browse the repository at this point in the history
  • Loading branch information
Droid00000 committed Nov 17, 2024
1 parent 1c962b9 commit ce8ee24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frost/model/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

POSTGRES = Sequel.connect(CONFIG['Postgres']['URL'])

POSTGRES.extension(:connection_validator)

POSTGRES.pool.connection_validation_timeout = -1

POSTGRES.create_table?(:Event_Settings) do
primary_key :id
Boolean :enabled, null: false
Expand Down

0 comments on commit ce8ee24

Please sign in to comment.