Code Monkey home page Code Monkey logo

Comments (5)

yidashi avatar yidashi commented on June 16, 2024

数据库迁移过去,程序肯定没问题。

from yii2cmf.

lchjczw avatar lchjczw commented on June 16, 2024

那如果在安装的时候有选择安装数据库的类型,就可以直接安装成postgresql了,甚至可以新增其他的数据库支持,这样就更通用了

from yii2cmf.

lchjczw avatar lchjczw commented on June 16, 2024

我已经把mysql数据库转换为pgsql了,大部分没问题,还是有些地方有问题

from yii2cmf.

yidashi avatar yidashi commented on June 16, 2024

这数据库没玩过 = =大概什么错误呢

from yii2cmf.

lchjczw avatar lchjczw commented on June 16, 2024

有好几个地方那个,主要都是数据库sql语句的问题,存在不兼容的现象,因为mysql的语句有些不是标准的sql语句,比如说创建文章的时候:
common--》models->Category.php里面:130行
$query->where(new Expression("FIND_IN_SET('{$module}', module) "));
这个sql语句,里面的函数FIND_IN_SET,再postgres里面没有,所以会出错。

主要postgres数据库的功能挺强,事物,地理位置,空间类型,还有强大的json类型,基本上你需要的类型里面都可以直接提供

要不然我把数据库发你,你试试看

链接: https://pan.baidu.com/s/1gfsWc99 密码: 98h6

from yii2cmf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.