Sha256: 0d06ff2f6aeea0c3c36c79ab0e9350deebad6360b1d084efbb794a0e4e2b644a
Contents?: true
Size: 612 Bytes
Versions: 6
Compression:
Stored size: 612 Bytes
Contents
# -*- coding: utf-8 -*- require 'tengine/job' # ルートジョブネットとして必要な情報に関するモジュール module Tengine::Job::Root extend ActiveSupport::Concern included do include Tengine::Core::OptimisticLock set_locking_field :version belongs_to :category, :inverse_of => :root_jobnet_templates, :index => true, :class_name => "Tengine::Job::Category" field :version, :type => Integer, :default => 0 # ジョブネット全体を更新する際の楽観的ロックのためのバージョン。更新するたびにインクリメントされます。 end end
Version data entries
6 entries across 6 versions & 1 rubygems