documents

This commit is contained in:
Andreas Stephanides
2014-11-20 11:40:49 +01:00
parent 6ad5a76cc8
commit c2ea1782ff
11 changed files with 136 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class CreateDocuments < ActiveRecord::Migration
def change
create_table :documents do |t|
t.integer :typ
t.string :name
t.text :text
t.string :etherpadkey
t.references{polymorphic} :parent
t.timestamps
end
end
end