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-27 15:12:24 +0300
committerScott Chacon <schacon@gmail.com>2014-10-27 15:12:24 +0300
commit4879009c7726fe47d02f11d99c4fc04847d9e8e2 (patch)
tree6686dd19df05fa26c04efd5fc11ca8973bb2ddf2 /db
parentbe45b3d5da11e9e6ea646989ea9ba85c1dc1942c (diff)
add language names
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20141027114732_add_language_name.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20141027114732_add_language_name.rb b/db/migrate/20141027114732_add_language_name.rb
new file mode 100644
index 00000000..b43ccdbd
--- /dev/null
+++ b/db/migrate/20141027114732_add_language_name.rb
@@ -0,0 +1,5 @@
+class AddLanguageName < ActiveRecord::Migration
+ def change
+ add_column :books, :language, :string
+ end
+end