start tracking files in our database

This commit is contained in:
Kyle Drake 2014-11-03 17:36:20 -08:00
parent d2f349acd6
commit aedc5e363c
5 changed files with 132 additions and 36 deletions

6
models/site_file.rb Normal file
View file

@ -0,0 +1,6 @@
class SiteFile < Sequel::Model
unrestrict_primary_key
plugin :update_primary_key
many_to_one :site
end