mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-08 18:06:43 +01:00
16 lines
449 B
Ruby
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
|