fix meger develop branch

This commit is contained in:
jasder
2021-06-17 17:30:11 +08:00
78 changed files with 1699 additions and 249 deletions

View File

@@ -0,0 +1,5 @@
class AddTimestampToAppliedProjects < ActiveRecord::Migration[5.2]
def change
add_timestamps(:applied_projects, null: true)
end
end

View File

@@ -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