Show More
Commit Description:
merge with rails7 branch
Commit Description:
merge with rails7 branch
References:
File last commit:
Show/Diff file:
Action:
db/migrate/20100216162324_create_contests_users_join_table.rb | 12 lines | 336 B | text/x-ruby | RubyLexer |
update migration
r822 class CreateContestsUsersJoinTable < ActiveRecord::Migration[4.2]
Jittat Fakcharoenphol
created join tables for contests and users and problems
r268 def self.up
update migration
r822 create_table :contests_users, :id => false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do |t|
Jittat Fakcharoenphol
created join tables for contests and users and problems
r268 t.integer :contest_id
t.integer :user_id
end
end
def self.down
drop_table :contests_users
end
end