forked from bofh/fetsite
14 lines
263 B
Ruby
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
|