mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			398 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			398 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# == 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
 |