mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Create legal documents
This commit is contained in:
parent
4f10cccdfa
commit
e09ddd3138
10 changed files with 274 additions and 7 deletions
11
db/migrate/20141229115619_create_legal_documents.rb
Normal file
11
db/migrate/20141229115619_create_legal_documents.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue