aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorXinhui2016-08-03 16:21:22 +0200
committerXinhui2016-08-03 16:21:22 +0200
commit3dc76115b605dd69c3bc0e24a48860ab874228b8 (patch)
tree98eee9253b35bd39493448c815c5e0e324e3f225 /db/migrate
parentfa7154a9fe684f8b42bfc4afcacaa56bc1fe6d45 (diff)
downloadchouette-core-3dc76115b605dd69c3bc0e24a48860ab874228b8.tar.bz2
Add column Code to Organisation
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160803140910_add_code_to_organisations.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160803140910_add_code_to_organisations.rb b/db/migrate/20160803140910_add_code_to_organisations.rb
new file mode 100644
index 000000000..ba5d38213
--- /dev/null
+++ b/db/migrate/20160803140910_add_code_to_organisations.rb
@@ -0,0 +1,5 @@
+class AddCodeToOrganisations < ActiveRecord::Migration
+ def change
+ add_column :organisations, :code, :string
+ end
+end