add subfolders

This commit is contained in:
Pete Matsyburka
2025-07-20 08:28:19 +03:00
committed by GitHub
parent 69d63ecffe
commit ec944a2283
35 changed files with 431 additions and 109 deletions
@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddParentFolderIdToTemplateFolders < ActiveRecord::Migration[8.0]
def change
add_reference :template_folders, :parent_folder, foreign_key: { to_table: :template_folders }, index: true
end
end