forked from bofh/fetsite
documents
This commit is contained in:
13
db/migrate/20141119200355_create_documents.rb
Normal file
13
db/migrate/20141119200355_create_documents.rb
Normal 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
|
||||
Reference in New Issue
Block a user