aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20171001100320_add_custom_view_to_organisations.rb5
-rw-r--r--db/schema.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20171001100320_add_custom_view_to_organisations.rb b/db/migrate/20171001100320_add_custom_view_to_organisations.rb
new file mode 100644
index 000000000..bd8da50fc
--- /dev/null
+++ b/db/migrate/20171001100320_add_custom_view_to_organisations.rb
@@ -0,0 +1,5 @@
+class AddCustomViewToOrganisations < ActiveRecord::Migration
+ def change
+ add_column :organisations, :custom_view, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 21aa73cd8..48efa912e 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -559,6 +559,7 @@ ActiveRecord::Schema.define(version: 20171114102438) do
t.string "code"
t.datetime "synced_at"
t.hstore "sso_attributes"
+ t.string "custom_view"
end
add_index "organisations", ["code"], name: "index_organisations_on_code", unique: true, using: :btree