Skip to content

Instantly share code, notes, and snippets.

@rinterliche
Created May 22, 2013 14:45
Show Gist options
  • Save rinterliche/5628096 to your computer and use it in GitHub Desktop.
Save rinterliche/5628096 to your computer and use it in GitHub Desktop.
[dmcdev] ~/dmcperforma
$ bundle exec rake db:migrate
/Users/dmcdev/.rvm/gems/ruby-1.9.3-p194@performa/gems/zipruby-0.3.6/lib/zipruby.bundle: warning: already initialized constant VERSION
== CreateDmcwikiPages: migrating =============================================
-- create_table(:dmcwiki_pages)
rake aborted!
An error has occurred, all later migrations canceled:
Mysql2::Error: Table 'dmcwiki_pages' already exists: CREATE TABLE `dmcwiki_pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) NOT NULL, `content` text NOT NULL, `published` tinyint(1) DEFAULT 0 NOT NULL, `topic_id` int(11) NOT NULL, `subtopic_id` int(11), `permalink` varchar(255) NOT NULL, `publish_version` varchar(255), `last_version` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
-bash: __git_ps1: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment