Chatwoot/app/models/platform_app.rb

17 lines
398 B
Ruby
Raw 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
end