11/15/14 Public, Databases, Rails General
add_column(table, column, type, options)
rename_column(table, column, new_name)
change_column(table, column, type, options)
1 vote - brookemcg
11/15/14 Public, Command Line, Databases
$ mysql -u root -p
$ enter in your password
Here is how to log into a MySQL database as a specific user, connecting to a named, specific database, with a password
In this example, the name of the user is simple_cms2
and the name of...
1 vote - plawler
10/25/14 Public, Databases
I only recommend doing this if you are rolling back just one migration. If there have been many migrations since the change that you want to make, be aware that there may be data issues depending on what has transpired since that migration.
1 vote - harrylevine