Browse Source

feat: 新增 BookStack 的 PHP 扩展模板 (#6611)

pull/6616/head
Anye 2 months ago committed by GitHub
parent
commit
f9bdcf8938
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      backend/init/migration/migrations/v_1_9.go

3
backend/init/migration/migrations/v_1_9.go

@ -127,6 +127,9 @@ var AddTablePHPExtensions = &gormigrate.Migration{
if err := tx.Create(&model.PHPExtensions{Name: "WordPress", Extensions: "exif,igbinary,imagick,intl,zip,apcu,memcached,opcache,redis,bc,image,shmop,mysqli,pdo_mysql,gd"}).Error; err != nil {
return err
}
if err := tx.Create(&model.PHPExtensions{Name: "BookStack", Extensions: "gd,dom,iconv,mbstring,mysqlnd,openssl,pdo,pdo_mysql,tokenizer,xml"}).Error; err != nil {
return err
}
if err := tx.Create(&model.PHPExtensions{Name: "Flarum", Extensions: "curl,gd,pdo_mysql,mysqli,bz2,exif,yaf,imap"}).Error; err != nil {
return err
}

Loading…
Cancel
Save