Files
fetsite/db/migrate/20141119200355_create_documents.rb
Andreas Stephanides 65cb400126 documents
2014-11-20 11:40:49 +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