Skip to content

Commit 66ea40f

Browse files
authored
DEV: Update plugin annotations (#334)
1 parent e1db1b0 commit 66ea40f

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

app/models/discourse_data_explorer/query.rb

+15
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,18 @@ def find(id)
6262
end
6363
end
6464
end
65+
66+
# == Schema Information
67+
#
68+
# Table name: data_explorer_queries
69+
#
70+
# id :bigint not null, primary key
71+
# name :string
72+
# description :text
73+
# sql :text default("SELECT 1"), not null
74+
# user_id :integer
75+
# last_run_at :datetime
76+
# hidden :boolean default(FALSE), not null
77+
# created_at :datetime not null
78+
# updated_at :datetime not null
79+
#

app/models/discourse_data_explorer/query_group.rb

+15
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,18 @@ class QueryGroup < ActiveRecord::Base
1010
has_many :bookmarks, as: :bookmarkable
1111
end
1212
end
13+
14+
# == Schema Information
15+
#
16+
# Table name: data_explorer_query_groups
17+
#
18+
# id :bigint not null, primary key
19+
# query_id :bigint
20+
# group_id :integer
21+
#
22+
# Indexes
23+
#
24+
# index_data_explorer_query_groups_on_group_id (group_id)
25+
# index_data_explorer_query_groups_on_query_id (query_id)
26+
# index_data_explorer_query_groups_on_query_id_and_group_id (query_id,group_id) UNIQUE
27+
#

0 commit comments

Comments
 (0)