equal
deleted
inserted
replaced
22 # Load Sequel extensions/plugins |
22 # Load Sequel extensions/plugins |
23 Sequel.extension :migration |
23 Sequel.extension :migration |
24 |
24 |
25 |
25 |
26 # Package version |
26 # Package version |
27 VERSION = '0.3.1' |
27 VERSION = '0.4.0' |
28 |
28 |
29 # Version control revision |
29 # Version control revision |
30 REVISION = %q$Revision: 686fbfe638bd $ |
30 REVISION = %q$Revision: 686fbfe638bd $ |
31 |
31 |
32 # The data directory that contains migration files. |
32 # The data directory that contains migration files. |
292 end |
292 end |
293 |
293 |
294 return ds |
294 return ds |
295 end |
295 end |
296 |
296 |
|
297 |
|
298 # Register a hook to make the database connection fork-safe. |
|
299 Strelka.before_fork do |
|
300 self.db&.disconnect |
|
301 end |
|
302 |
297 end # class Thingfish::Metastore::PgGraph |
303 end # class Thingfish::Metastore::PgGraph |
298 |
304 |