# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html # == Schema Information # # Table name: votes # # id :bigint not null, primary key # direction :integer # votable_type :string not null # created_at :datetime not null # updated_at :datetime not null # user_id :bigint not null # votable_id :bigint not null # # Indexes # # index_votes_on_user_id (user_id) # index_votes_on_votable (votable_type,votable_id) # # Foreign Keys # # fk_rails_... (user_id => users.id) # one: user: one votable=references{polymorphic}: MyString direction: 1 two: user: two votable=references{polymorphic}: MyString direction: 1