Code Monkey home page Code Monkey logo

Comments (8)

antonioribeiro avatar antonioribeiro commented on August 16, 2024

This is a work in progress, I did not published this package, because it was not well tested yet, But it's working for me, at least using PostgreSQL.

  1. Is your database MySQL?
  2. How did you installed it?
  3. how are you running the migration?

Looking at this error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table

The problem might be some text fields I use as index, PostgreSQL is able to index them but your database isn't.

from tracker.

antonioribeiro avatar antonioribeiro commented on August 16, 2024

I just pushed a change which should make it work on MySQL too.

from tracker.

antonioribeiro avatar antonioribeiro commented on August 16, 2024

Unfortunately you probably will have to delete the already created tables manually. I just saw you have some errors like:

Table 'tracker_log' already exists (SQL: create table tracker_log (id

So you were running it for the second time and in the first time those tables were created.

from tracker.

apps4u avatar apps4u commented on August 16, 2024

I know that sorry I should of removed them I just did a screen capture I would run the migration then when it got a error I would remove the tables make the change that Artisan would complain about . Most of the issues are to do with applying indexes to string columns as no size is set the migration creates a text/blob column and the other issue had to do with indexes set on more then one column at a time which is fine but as there is no size limit on the string columns you get a size too big error .
They are the only errors I got, sorry for sending all the errors from my screen to you I did run migration twice where I missed removing the table first by mistake.

Jason Kristian | Director | Apps 4 U Pty Ltd.
ph: +61 075699 8109
mob: +61 0411 389 392
e: Jason Kristian

On 29 May 2014, at 1:11 am, Antonio Carlos Ribeiro [email protected] wrote:

Unfortunately you probably will have to delete the already created tables manually. I just saw you have some errors like:

Table 'tracker_log' already exists (SQL: create table tracker_log (id

So you were running it for the second time and in the first time those tables were created.


Reply to this email directly or view it on GitHub.

from tracker.

apps4u avatar apps4u commented on August 16, 2024

I'll send a pull request in the next few days I'm going to set some size limits on the string columns in the migration and that should stop artisan compiling that it can not assign a index to TEXT/BLOB columns.

from tracker.

antonioribeiro avatar antonioribeiro commented on August 16, 2024

The current version was tested on MySQL and works fine.

from tracker.

apps4u avatar apps4u commented on August 16, 2024

not on a os x 10.9 running mysql 5.6 or on ubuntu 10.3 LTS running mysql 5.1.73

from tracker.

antonioribeiro avatar antonioribeiro commented on August 16, 2024

Was the error related to ipv4_in_range or something?

composer update again and it should work.

Not that? Could show the error message?

from tracker.

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.