mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
ADD column for mirrors tables
This commit is contained in:
5
db/migrate/20200629020618_add_sync_num_to_mirrors.rb
Normal file
5
db/migrate/20200629020618_add_sync_num_to_mirrors.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddSyncNumToMirrors < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :mirrors, :sync_num, :integer, default: 1
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user