Skip to content

Commit d125ae8

Browse files
author
John Pinto
committed
Annotated new models OrgDomain and OrgRor with schema information.
1 parent 7a5fa01 commit d125ae8

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

app/models/org_domain.rb

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
# frozen_string_literal: true
2+
3+
# == Schema Information
4+
#
5+
# Table name: org_domains
6+
#
7+
# id :bigint(8) not null, primary key
8+
# domain :text not null
9+
# created_at :datetime not null
10+
# updated_at :datetime not null
11+
# org_id :bigint(8) not null
12+
#
13+
# Indexes
14+
#
15+
# index_org_domains_on_org_id (org_id)
16+
#
17+
# Foreign Keys
18+
#
19+
# fk_rails_... (org_id => orgs.id)
20+
#
221
class OrgDomain < ApplicationRecord
322
belongs_to :org
423

app/models/org_ror.rb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1+
# frozen_string_literal: true
12

2-
3+
# == Schema Information
4+
#
5+
# Table name: org_rors
6+
#
7+
# id :bigint(8) not null, primary key
8+
# created_at :datetime not null
9+
# updated_at :datetime not null
10+
# org_id :bigint(8) not null
11+
# ror_id :text not null
12+
#
13+
# Indexes
14+
#
15+
# index_org_rors_on_org_id (org_id)
16+
#
17+
# Foreign Keys
18+
#
19+
# fk_rails_... (org_id => orgs.id)
20+
#
321
class OrgRor < ApplicationRecord
422
belongs_to :org
523

0 commit comments

Comments
 (0)