Skip to content

Instantly share code, notes, and snippets.

@attilagyorffy
Created February 17, 2014 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save attilagyorffy/9052514 to your computer and use it in GitHub Desktop.
Save attilagyorffy/9052514 to your computer and use it in GitHub Desktop.
diff --git a/db/schema.rb b/db/schema.rb
index f53a0c5..cea3501 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20140214121756) do
+ActiveRecord::Schema.define(version: 20140214124147) do
create_table "application_options", force: true do |t|
t.string "cms_name"
@@ -179,13 +179,13 @@ ActiveRecord::Schema.define(version: 20140214121756) do
t.text "entry_requirements"
t.integer "application_option_id"
t.text "funding"
- t.string "admissions_email"
- t.string "admissions_telephone"
t.string "kis_course_id"
t.boolean "is_kis_course"
t.string "institution_code", limit: 4
- t.text "key_features"
+ t.string "admissions_email"
+ t.string "admissions_telephone"
t.string "ucas_tariff", limit: 3
+ t.text "key_features"
end
add_index "courses", ["application_option_id"], name: "index_courses_on_application_option_id", using: :btree
@@ -426,6 +426,8 @@ ActiveRecord::Schema.define(version: 20140214121756) do
add_index "schools", ["external_id"], name: "index_schools_on_external_id", using: :btree
add_index "schools", ["faculty_id", "name"], name: "index_schools_on_faculty_id_and_name", using: :btree
+ add_index "schools", ["name"], name: "index_schools_on_name", using: :btree
+ add_index "schools", ["permalink"], name: "index_schools_on_permalink", using: :btree
create_table "schools_user_roles", force: true do |t|
t.integer "school_id", null: false
@@ -454,6 +456,8 @@ ActiveRecord::Schema.define(version: 20140214121756) do
t.integer "module_colour_id"
end
+ add_index "staff_lists", ["module_colour_id"], name: "index_staff_lists_on_module_colour_id", using: :btree
+
create_table "staff_lists_staff_member", force: true do |t|
t.integer "staff_member_id", null: false
t.integer "staff_list_id", null: false
@@ -517,6 +521,7 @@ ActiveRecord::Schema.define(version: 20140214121756) do
end
add_index "staff_quotes", ["article_id"], name: "index_staff_quotes_on_article_id", using: :btree
+ add_index "staff_quotes", ["module_colour_id"], name: "index_staff_quotes_on_module_colour_id", using: :btree
add_index "staff_quotes", ["staff_member_id"], name: "index_staff_quotes_on_staff_member_id", using: :btree
create_table "system_settings", force: true do |t|
@@ -568,6 +573,8 @@ ActiveRecord::Schema.define(version: 20140214121756) do
t.boolean "all_schools"
end
+ add_index "user_roles", ["user_id"], name: "index_user_roles_on_user_id", using: :btree
+
create_table "users", force: true do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment