10 lines
152 B
Ruby
10 lines
152 B
Ruby
|
require 'gitlab/database'
|
||
|
|
||
|
module Gitlab
|
||
|
module Database
|
||
|
def self.serialized_transaction
|
||
|
connection.transaction { yield }
|
||
|
end
|
||
|
end
|
||
|
end
|