All checks were successful
Run unit tests / rubocop (pull_request) Successful in 1m38s
Run unit tests / check-licenses (pull_request) Successful in 1m59s
Run unit tests / copyright_notice (pull_request) Successful in 2m32s
Run unit tests / unit_tests (pull_request) Successful in 4m10s
Run unit tests / build-static-assets (pull_request) Successful in 17m41s
26 lines
525 B
Ruby
26 lines
525 B
Ruby
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
|
|
|
|
# frozen_string_literal: true
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: websites
|
|
#
|
|
# id :bigint not null, primary key
|
|
# content :text
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
# wedding_id :uuid not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_websites_on_wedding_id (wedding_id)
|
|
#
|
|
# Foreign Keys
|
|
#
|
|
# fk_rails_... (wedding_id => weddings.id)
|
|
#
|
|
class Website < ApplicationRecord
|
|
belongs_to :wedding
|
|
end
|