Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorScott Chacon <schacon@gmail.com>2014-10-24 23:32:09 +0400
committerScott Chacon <schacon@gmail.com>2014-10-25 02:48:11 +0400
commit815e4be74c20b7d3d9c2c9152453ba7f6701a10d (patch)
treec86c2ffa29e81b75d628545714440f7fa76ef445 /db
parent54e9293eea195c80d2e86a3681c35447bf522860 (diff)
add appendixes
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20141024175303_add_chapter_type.rb6
1 files changed, 6 insertions, 0 deletions
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