hmt 8 years ago
parent
commit
b9d1ae942c
2 changed files with 2 additions and 1 deletions
  1. 1 0
      lib/schild.rb
  2. 1 1
      lib/schild/version.rb

+ 1 - 0
lib/schild.rb

@@ -6,6 +6,7 @@ module Schild
   # ist die Datenbank-Verbindung. Alle Daten können über diese Konstante abgerufen werden
 
   @db = Sequel.connect("#{ENV['S_ADAPTER']}://#{ENV['S_HOST']}/#{ENV['S_DB']}?user=#{ENV['S_USER']}&password=#{ENV['S_PASSWORD']}&zeroDateTimeBehavior=convertToNull")
+  @db.extension(:freeze_datasets)
 
   def self.connect
     @db = Sequel.connect("#{ENV['S_ADAPTER']}://#{ENV['S_HOST']}/#{ENV['S_DB']}?user=#{ENV['S_USER']}&password=#{ENV['S_PASSWORD']}&zeroDateTimeBehavior=convertToNull")

+ 1 - 1
lib/schild/version.rb

@@ -1,3 +1,3 @@
 module Schild
-  VERSION = "0.7.9"
+  VERSION = "0.7.10"
 end