From a01ac3ea53ec00b772d6ef1bb249f638d7b885bb Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Wed, 9 Mar 2022 17:35:04 +0100 Subject: [PATCH] Fix --- .../university/organizations/_form.html.erb | 2 +- db/schema.rb | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/app/views/admin/university/organizations/_form.html.erb b/app/views/admin/university/organizations/_form.html.erb index c70eee1d0..9cccb7f5b 100644 --- a/app/views/admin/university/organizations/_form.html.erb +++ b/app/views/admin/university/organizations/_form.html.erb @@ -33,7 +33,7 @@ <%= f.input :zipcode %> <%= f.input :city %> <%= f.input :country %> - <%= f.input :website %> + <%= f.input :url %> <%= f.input :phone %> <%= f.input :mail %> </div> diff --git a/db/schema.rb b/db/schema.rb index dac80d4a2..e30fc9ba9 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -445,6 +445,23 @@ ActiveRecord::Schema.define(version: 2022_03_08_114213) do t.index ["university_id"], name: "index_education_schools_on_university_id" end + create_table "external_organizations", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| + t.string "title" + t.text "description" + t.string "address" + t.string "zipcode" + t.string "city" + t.string "country" + t.string "website" + t.string "phone" + t.string "mail" + t.boolean "active" + t.string "sirene" + t.integer "kind" + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + end + create_table "languages", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| t.string "name" t.string "iso_code" -- GitLab