DEV: Update plugin annotations (#334)
This commit is contained in:
parent
e1db1b0fe2
commit
66ea40fe3d
|
@ -62,3 +62,18 @@ module ::DiscourseDataExplorer
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: data_explorer_queries
|
||||||
|
#
|
||||||
|
# id :bigint not null, primary key
|
||||||
|
# name :string
|
||||||
|
# description :text
|
||||||
|
# sql :text default("SELECT 1"), not null
|
||||||
|
# user_id :integer
|
||||||
|
# last_run_at :datetime
|
||||||
|
# hidden :boolean default(FALSE), not null
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
|
@ -10,3 +10,18 @@ module ::DiscourseDataExplorer
|
||||||
has_many :bookmarks, as: :bookmarkable
|
has_many :bookmarks, as: :bookmarkable
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: data_explorer_query_groups
|
||||||
|
#
|
||||||
|
# id :bigint not null, primary key
|
||||||
|
# query_id :bigint
|
||||||
|
# group_id :integer
|
||||||
|
#
|
||||||
|
# Indexes
|
||||||
|
#
|
||||||
|
# index_data_explorer_query_groups_on_group_id (group_id)
|
||||||
|
# index_data_explorer_query_groups_on_query_id (query_id)
|
||||||
|
# index_data_explorer_query_groups_on_query_id_and_group_id (query_id,group_id) UNIQUE
|
||||||
|
#
|
||||||
|
|
Loading…
Reference in New Issue