You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # == Schema Information
- #
- # Table name: ob_repository_syncs
- #
- # id :integer not null, primary key
- # project_id :integer
- # user_id :integer
- # name :string(255)
- # github_address :string(255)
- # gitee_address :string(255)
- # github_token :string(255)
- # gitee_token :string(255)
- # sync_id :integer
- # created_at :datetime not null
- # updated_at :datetime not null
- #
- # Indexes
- #
- # index_ob_repository_syncs_on_project_id (project_id)
- # index_ob_repository_syncs_on_user_id (user_id)
- #
-
- class ObRepositorySync < ApplicationRecord
- belongs_to :project
- belongs_to :user
-
- has_many :ob_repository_sync_jobs, dependent: :destroy
- end
|