mirror of
https://github.com/neocities/neocities.git
synced 2025-07-21 18:16:07 +02:00
start tracking files in our database
This commit is contained in:
parent
d2f349acd6
commit
aedc5e363c
5 changed files with 132 additions and 36 deletions
6
models/site_file.rb
Normal file
6
models/site_file.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class SiteFile < Sequel::Model
|
||||
|
||||
unrestrict_primary_key
|
||||
plugin :update_primary_key
|
||||
many_to_one :site
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue