From 1306a33e8aa30fe36a77e4672a9a381322f1660d Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Fri, 24 Jan 2025 00:29:29 +0100 Subject: [PATCH] Fix schema --- db/schema.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index cfc1383..10ab0cd 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,7 +1,3 @@ -# Copyright (C) 2024 Manuel Bustillo - -# Copyright (C) 2024-2025 LibreWeddingPlanner contributors - # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. @@ -41,7 +37,7 @@ ActiveRecord::Schema[8.0].define(version: 2024_12_16_231415) do t.index "LEAST(group_a_id, group_b_id), GREATEST(group_a_id, group_b_id)", name: "uindex_group_pair", unique: true t.index ["group_a_id"], name: "index_group_affinities_on_group_a_id" t.index ["group_b_id"], name: "index_group_affinities_on_group_b_id" - t.check_constraint "discomfort >= 0::double precision AND discomfort <= 2::double precision" + t.check_constraint "discomfort >= 0::double precision AND discomfort <= 2::double precision", name: "check_valid_discomfort" t.check_constraint "group_a_id <> group_b_id", name: "check_distinct_groups" end