Chatwoot/app/models/platform_app.rb

17 lines
404 B
Ruby
Raw Permalink Normal View History

2021-01-14 15:05:22 +00:00
# == Schema Information
#
# Table name: platform_apps
#
# id :bigint not null, primary key
# name :string not null
# created_at :datetime not null
# updated_at :datetime not null
#
class PlatformApp < ApplicationRecord
include AccessTokenable
validates :name, presence: true
has_many :platform_app_permissibles, dependent: :destroy_async
2021-01-14 15:05:22 +00:00
end