Add folders to the documents plugin

This commit is contained in:
Patrick Gansterer 2017-11-08 22:35:12 +01:00
parent 611a29fe2d
commit dc94e98138
19 changed files with 141 additions and 71 deletions

View file

@ -0,0 +1,5 @@
class AddParentToDocument < ActiveRecord::Migration
def change
add_reference :documents, :parent, index: true
end
end