mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fix meger develop branch
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddTimestampToAppliedProjects < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_timestamps(:applied_projects, null: true)
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
class AddInviteCodeIndexToProjects < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :projects, :invite_code
|
||||
execute <<-SQL
|
||||
ALTER TABLE projects MODIFY COLUMN invite_code VARCHAR(255) BINARY CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL;
|
||||
SQL
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user