mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
11 lines
246 B
Ruby
11 lines
246 B
Ruby
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
|