Create legal documents

This commit is contained in:
Martin Lensment 2014-12-29 17:19:27 +02:00
parent 4f10cccdfa
commit e09ddd3138
10 changed files with 274 additions and 7 deletions

View file

@ -0,0 +1,11 @@
class CreateLegalDocuments < ActiveRecord::Migration
def change
create_table :legal_documents do |t|
t.string :document_type
t.text :body
t.references :documentable, polymorphic: true
t.timestamps
end
end
end