Add copyright notice
All checks were successful
Check usage of free licenses / check-licenses (pull_request) Successful in 1m46s
Add copyright notice / copyright_notice (pull_request) Successful in 3m1s
Run unit tests / unit_tests (pull_request) Successful in 5m14s

This commit is contained in:
Manuel Bustillo 2024-11-30 18:26:35 +00:00
parent d3d3a35c19
commit ce7f32c407
5 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
# == Schema Information # == Schema Information
# #
# Table name: weddings # Table name: weddings

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
class CreateWeddings < ActiveRecord::Migration[8.0] class CreateWeddings < ActiveRecord::Migration[8.0]
def change def change
create_table :weddings, id: :uuid do |t| create_table :weddings, id: :uuid do |t|

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.

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
FactoryBot.define do FactoryBot.define do
factory :wedding do factory :wedding do
date { 1.year.from_now } date { 1.year.from_now }

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
require 'rails_helper' require 'rails_helper'
RSpec.describe Wedding, type: :model do RSpec.describe Wedding, type: :model do