From 815e4be74c20b7d3d9c2c9152453ba7f6701a10d Mon Sep 17 00:00:00 2001 From: Scott Chacon Date: Fri, 24 Oct 2014 21:32:09 +0200 Subject: add appendixes --- db/migrate/20141024175303_add_chapter_type.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20141024175303_add_chapter_type.rb (limited to 'db') diff --git a/db/migrate/20141024175303_add_chapter_type.rb b/db/migrate/20141024175303_add_chapter_type.rb new file mode 100644 index 00000000..474a880d --- /dev/null +++ b/db/migrate/20141024175303_add_chapter_type.rb @@ -0,0 +1,6 @@ +class AddChapterType < ActiveRecord::Migration + def change + add_column :chapters, :chapter_type, :string + add_column :chapters, :chapter_number, :string + end +end -- cgit v1.2.3