Files
fetsite/db/migrate/20141119200355_create_documents.rb
Andreas Stephanides c2ea1782ff documents
2014-12-08 22:58:21 +01:00

14 lines
263 B
Ruby

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