Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created March 24, 2011 21:54
Show Gist options
  • Save goyox86/885982 to your computer and use it in GitHub Desktop.
Save goyox86/885982 to your computer and use it in GitHub Desktop.
== CreateFaxInvites: migrating ===============================================
-- create_table(:fax_invites)
-> 0.1155s
== CreateFaxInvites: migrated (0.1158s) ======================================
== PatientProfileAddFeetInches: migrating ====================================
-- add_column(:patient_profiles, :height_feet, :integer)
-> 0.1307s
-- add_column(:patient_profiles, :height_inches, :integer)
-> 0.1345s
== PatientProfileAddFeetInches: migrated (0.2655s) ===========================
== CreateZipFiles: migrating =================================================
-- create_table(:zip_files)
-> 0.1161s
== CreateZipFiles: migrated (0.1164s) ========================================
== AddCreatedOnToCrumbs: migrating ===========================================
-- add_column(:crumbs, :created_on, :date)
-> 0.2427s
== AddCreatedOnToCrumbs: migrated (0.2434s) ==================================
== AddTimeZoneToOrganizations: migrating =====================================
-- add_column(:organizations, :time_zone, :string)
-> 0.1278s
== AddTimeZoneToOrganizations: migrated (0.1280s) ============================
== AddCompletedToPatientCheckin: migrating ===================================
-- add_column(:patient_checkins, :completed, :boolean)
-> 0.1172s
== AddCompletedToPatientCheckin: migrated (0.1176s) ==========================
== AddOnHoldToNotice: migrating ==============================================
-- add_column(:notices, :on_hold, :boolean, {:default=>false})
-> 0.1188s
== AddOnHoldToNotice: migrated (0.1195s) =====================================
== AddRelationshipStatusToPerson: migrating ==================================
-- add_column(:people, :relationship_status, :string)
-> 0.1159s
== AddRelationshipStatusToPerson: migrated (0.1160s) =========================
== PatientCheckinsAddComplete: migrating =====================================
-- add_column(:patient_checkins, :completed, :boolean, {:default=>false})
rake aborted!
An error has occurred, all later migrations canceled:
Mysql2::Error: Duplicate column name 'completed': ALTER TABLE `patient_checkins` ADD `completed` tinyint(1) DEFAULT 0
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment