pic_vert_app/db/migrate/20120912065146_create_note_files.rb
2013-01-08 23:28:47 +01:00

16 lines
302 B
Ruby

# -*- encoding : utf-8 -*-
class CreateNoteFiles < ActiveRecord::Migration
def change
create_table :note_files do |t|
t.string :file
t.string :name
t.string :slug
t.text :description
t.references :admin
t.references :note
t.timestamps
end
end
end