ecole_eft_app/db/migrate/20140612065146_create_topic_files.rb

16 lines
304 B
Ruby

# -*- encoding : utf-8 -*-
class CreateTopicFiles < 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 :topic
t.timestamps
end
end
end