# frozen_string_literal: true

class CreateSections < ActiveRecord::Migration[6.0]
  def change
    create_table :sections, comment: '章' do |t|
      t.string :name, comment: 'name'
      t.references :book, comment: 'book id'
      t.timestamps
    end
  end
end
