File tree 2 files changed +30
-0
lines changed
app/models/discourse_data_explorer
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -62,3 +62,18 @@ def find(id)
62
62
end
63
63
end
64
64
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
+ #
Original file line number Diff line number Diff line change @@ -10,3 +10,18 @@ class QueryGroup < ActiveRecord::Base
10
10
has_many :bookmarks , as : :bookmarkable
11
11
end
12
12
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
+ #
You can’t perform that action at this time.
0 commit comments