forgeplus/app/models/bot_install.rb

26 lines
761 B
Ruby

# == Schema Information
#
# Table name: install_bot
#
# id :integer not null, primary key
# bot_id :integer not null
# installer_id :integer not null
# store_id :integer not null
# state :integer not null
# create_time :datetime not null
# update_time :datetime not null
# installer_login :string(255) not null
# store_repo :string(255) not null
# webhook_id :integer
# webhook_response_msg :text(65535)
# repo_owner :string(255)
#
# frozen_string_literal: true
class BotInstall < ApplicationRecord
self.table_name = "install_bot"
belongs_to :bot
end