Story #105839906 -- drop Version and log_legal_documents from legal_documents

This commit is contained in:
Matt Farnsworth 2015-11-17 12:09:16 +02:00
parent 07c2d58554
commit c0960e9184
3 changed files with 47 additions and 1 deletions

View file

@ -0,0 +1,12 @@
class DropLogLegalDocuments < ActiveRecord::Migration
def up
drop_table :log_legal_documents
remove_column :legal_documents, :updated_at
remove_column :legal_documents, :updator_str
end
def down
# removed concern Version, which removed LegalDocumentVersion
fail ActiveRecord::IrreversibleMigration
end
end