diff --git a/app/views/admin/university/organizations/_form.html.erb b/app/views/admin/university/organizations/_form.html.erb index c70eee1d050feb799f5822efe29c7bfa46942c34..9cccb7f5b3d3c71ea4ceeca5f527335eff32923b 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 dac80d4a28d8a245a9a178d73857ec7ab0286b75..e30fc9ba96bc7f892b2ca439a92f51f3c383a209 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"