You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to CakePHP v2.8.5 Console
---------------------------------------------------------------
App : app
Path: /var/www/cakephp2/app/
---------------------------------------------------------------
Cake Schema Shell
---------------------------------------------------------------
Comparing Database to Schema...
The following statements will run.
ALTER TABLE `cakephp2`.`posts`
CHANGE `name` `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
Are you sure you want to alter the tables? (y/n)
Actual Behavior
Welcome to CakePHP v2.8.5 Console
---------------------------------------------------------------
App : app
Path: /var/www/cakephp2/app/
---------------------------------------------------------------
Cake Schema Shell
---------------------------------------------------------------
Comparing Database to Schema...
Schema is up to date.
P.S. pull request to come...
The text was updated successfully, but these errors were encountered:
This is a:
What you did
Create a table with
'name' VARCHAR(45)
column. Generate schema snapshotschema.php
using Schema shell. For instance:Generate it again and update
schema_2.php
removinglength
key onname
column:Run
Console/cake schema update -s 2
Expected Behavior
Actual Behavior
P.S. pull request to come...
The text was updated successfully, but these errors were encountered: