Code Monkey home page Code Monkey logo

laravelcms's People

Contributors

q1082121 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravelcms's Issues

2016_12_21_093037_create_xcxaddresses_table.php 文件中有重复的字段名

public function up()
    {
        //
        Schema::create('xcxaddresses', function(Blueprint $table) {
			$table->increments('id');
			$table->string('name',50)->nullable();		//姓名
			$table->string('mobile',20)->nullable();	//手机号码
			$table->integer('area_pid')->default(0);	//省份
			$table->string('area_pname',30)->nullable();//省份名称
			$table->integer('area_cid')->default(0);	//市级
			$table->string('area_cname',30)->nullable();//市级名称
			$table->integer('area_xid')->default(0);	//县区
			$table->string('area_xname',30)->nullable();//县区名称
                        $table->string('name',100)->nullable();//详情地址
                        $table->tinyInteger('isdefault')->default(0);//默认
			$table->tinyInteger('status')->default(0);	//状态
			$table->integer('xcxuser_id');					
			$table->timestamps();
		});
    }

建表失败,姓名和详情地址字段名一样。

laradock docker中执行php artisan typicms:install失败

Publishing complete for tag []!
------------------
Setting up database...

 Enter a database name [code]:
 > laradock


 What is your MySQL username? [root]:
 > root

 What is your MySQL password? [<none>]:
 > 

                                                    
  [PDOException]                                    
  SQLSTATE[HY000] [2002] No such file or directory  
                                                    
  • 使用数据库管理工具能够连接,但是这条命令无法链接数据库

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.