blob: 6e927cf3883ffae9b70aded8a01a1528a261263d [file] [log] [blame]
These instructions assume you have a full chromiumos checkout at
To generate a schema dump, run this inside the chroot:
$ lib/cidb_integration_test CIDBMigrationsTest.testMigrations --no-wipe --debug
Then, follow the instructions in the developer.readme to re-launch the mysqld
daemon from the temporary directory and dump the schema using (again, inside the
$ mysqldump -u root -S ${tmpdir}/mysqld_dir/mysqld.socket --no-data \
--single-transaction cidb | grep -v '^--' \
> ~/trunk/chromite/cidb/schema.dump
Remember to cleanup the temporary directory when you're done.