DEV: Update plugin annotations (#334)

This commit is contained in:
Gabriel Grubba 2024-10-25 05:42:37 -03:00 committed by GitHub
parent e1db1b0fe2
commit 66ea40fe3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View File

@ -62,3 +62,18 @@ module ::DiscourseDataExplorer
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
#

View File

@ -10,3 +10,18 @@ module ::DiscourseDataExplorer
has_many :bookmarks, as: :bookmarkable
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
#