mirror of
				https://github.com/h44z/wg-portal.git
				synced 2025-11-03 23:56:18 +00:00 
			
		
		
		
	support AllowIPs for peers in server config (#24)
This commit is contained in:
		@@ -29,6 +29,13 @@ func init() {
 | 
			
		||||
			return nil
 | 
			
		||||
		},
 | 
			
		||||
	})
 | 
			
		||||
	migrations = append(migrations, Migration{
 | 
			
		||||
		version: "1.0.8",
 | 
			
		||||
		migrateFn: func(db *gorm.DB) error {
 | 
			
		||||
			logrus.Infof("upgraded database format to version 1.0.8")
 | 
			
		||||
			return nil
 | 
			
		||||
		},
 | 
			
		||||
	})
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type SupportedDatabase string
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user