You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

14 lines
258 B

class LinkUserCourse < ActiveRecord::Migration
def self.up
# Relacionamento
create_table :courses_users, :id => false do |t|
t.column :user_id, :integer
t.column :course_id, :integer
end
end
def self.down
drop_table :courses_users
end
end