foalfetch/app/models/author.rb
2024-04-04 04:21:31 -04:00

16 lines
449 B
Ruby

# frozen_string_literal: true
# == Schema Information
#
# Table name: authors
#
# id :bigint not null, primary key
# avatar :text
# bio_html :text
# date_joined :datetime not null
# name :text not null
# num_blog_posts :integer default(0), not null
# num_followers :integer default(0), not null
#
class Author < ApplicationRecord
has_many :stories
end