Sha256: ff851179bd5d706b16f77d9083c3f29bfd64640820a6c97695a2272f173bcfe0

Contents?: true

Size: 502 Bytes

Versions: 47

Compression:

Stored size: 502 Bytes

Contents

# frozen_string_literal: true
require 'valkyrie/persistence/postgres/orm/resource'
module Valkyrie::Persistence::Postgres
  # Namespace for ActiveRecord access in Postgres adapter.
  module ORM
    # Provides the name prefix for the ActiveRecord database table name
    # (Maps to the data model for persistence)
    # @see https://api.rubyonrails.org/classes/ActiveRecord/ModelSchema.html#method-c-table_name_prefix
    # @return [String]
    def self.table_name_prefix
      'orm_'
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
valkyrie-3.5.0 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.4.0 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.3.0 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.1.5 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.1.4 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.1.3 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.1.2 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.1.1 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.1.0 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.3 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.2 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.1 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.0 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.0.pre.rc.1 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.0.pre.beta.3 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.0.pre.beta.2 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-3.0.0.pre.beta.1 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-2.2.0 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-2.1.2 lib/valkyrie/persistence/postgres/orm.rb
valkyrie-2.1.1 lib/valkyrie/persistence/postgres/orm.rb