mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 15:45:34 +08:00
8 lines
191 B
Ruby
8 lines
191 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AssetTextDatum < ApplicationRecord
|
|
include SearchableModel
|
|
|
|
validates :asset, uniqueness: true
|
|
belongs_to :asset, inverse_of: :asset_text_datum
|
|
end
|