2024-04-03 11:23:50 +02:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: chapters
|
|
|
|
#
|
|
|
|
# id :bigint not null, primary key
|
|
|
|
# body :text
|
|
|
|
# date_modified :datetime
|
|
|
|
# date_published :datetime not null
|
|
|
|
# num_views :integer default(0), not null
|
|
|
|
# num_words :integer
|
|
|
|
# number :integer default(1), not null
|
|
|
|
# title :text not null
|
|
|
|
# story_id :bigint not null
|
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_chapters_on_story_id (story_id)
|
|
|
|
#
|
2024-04-02 19:33:19 +02:00
|
|
|
|
|
|
|
# This model initially had no columns defined. If you add columns to the
|
|
|
|
# model remove the "{}" from the fixture names and add the columns immediately
|
|
|
|
# below each fixture, per the syntax in the comments below
|
|
|
|
#
|
|
|
|
one: {}
|
|
|
|
# column: value
|
|
|
|
#
|
|
|
|
two: {}
|
|
|
|
# column: value
|