Define CUD endpoints for the Groups model #173

Merged
bustikiller merged 3 commits from groups-endpoints into main 2024-12-08 10:53:00 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 9f0773647f - Show all commits

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
class AllowUngroupedGuests < ActiveRecord::Migration[8.0] class AllowUngroupedGuests < ActiveRecord::Migration[8.0]
def change def change
change_column_null :guests, :group_id, true change_column_null :guests, :group_id, true

2
db/schema.rb generated
View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
# This file is auto-generated from the current state of the database. Instead # 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 # of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition. # incrementally modify your database, and then regenerate this schema definition.