discourse-topic-voting/app/models/discourse_topic_voting/topic_vote_count.rb
Natalie Tay 6bbc982477
DEV: Plugin rename (#126)
Update metadata, Rename ruby module, Rename folders and filenames, Rename i18n keys
2022-11-02 13:42:06 +08:00

24 lines
548 B
Ruby

# frozen_string_literal: true
module DiscourseTopicVoting
class TopicVoteCount < ActiveRecord::Base
self.table_name = 'discourse_voting_topic_vote_count'
belongs_to :topic
end
end
# == Schema Information
#
# Table name: discourse_voting_topic_vote_count
#
# id :bigint not null, primary key
# topic_id :integer
# votes_count :integer
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_discourse_voting_topic_vote_count_on_topic_id (topic_id) UNIQUE
#