mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
9 lines
238 B
Ruby
9 lines
238 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class ValidateArchivalForeignKeys < ActiveRecord::Migration[8.0]
|
||
|
|
def change
|
||
|
|
validate_foreign_key :points_raw_data_archives, :users
|
||
|
|
validate_foreign_key :points, :points_raw_data_archives
|
||
|
|
end
|
||
|
|
end
|