You have a duplicate field, remove it. Whats the exact problem?

Mrinmoy Das
http://goromlagche.in/


On Mon, Jan 13, 2014 at 2:47 PM, Vishnu Cherumadathil <
vishnu.say...@gmail.com> wrote:

> The error was: (1060, "Duplicate column name 'address_ar'")
>  ! Error found during real run of migration! Aborting.
>
>  ! Since you have a database that does not support running
>  ! schema-altering statements in transactions, we have had
>  ! to leave it in an interim state between migrations.
>
> ! You *might* be able to recover with:   - no dry run output for
> delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `address_ar`
> CASCADE; []
>    - no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `block_ar`
> CASCADE; []
>    - no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `streat_ar`
> CASCADE; []
>    - no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `house_ar`
> CASCADE; []
>    - no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `ad_direction_ar`
> CASCADE; []
>    - no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `build_num_ar`
> CASCADE; []
>    - no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `floor_ar`
> CASCADE; []
>    - no dry run output for delete_foreign_key() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendoraddressbook` DROP COLUMN `flat_ar` CASCADE;
> []
>    = ALTER TABLE `vendor_product` ADD COLUMN `details_en` longtext NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_product` ADD COLUMN `p_name_en` varchar(100)
> NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_product` ADD COLUMN `description_en` longtext
> NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendorprofile` ADD COLUMN `shop_name_en`
> varchar(100) NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendorprofile` ADD COLUMN `description_en`
> longtext NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendorprofile` ADD COLUMN `owner_name_en`
> varchar(100) NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendorprofile` ADD COLUMN `details_en` longtext
> NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_vendorprofile` ADD COLUMN `contact_name_en`
> varchar(100) NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>    = ALTER TABLE `vendor_subcategory` ADD COLUMN `name_en` varchar(200)
> NULL; []
>    - no dry run output for alter_column() due to dynamic DDL, sorry
>
>  ! The South developers regret this has happened, and would
>  ! like to gently persuade you to consider a slightly
>  ! easier-to-deal-with DBMS (one that supports DDL transactions)
>  ! NOTE: The error which caused the migration to fail is further up.
> Error in migration:
> vendor:0052_auto__add_field_vendoraddressbook_address_ar__add_field_vendoraddressb
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a5bcd037-ebfc-4ee9-856e-40c6953a66fe%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWA-MPVdnFQpO4TWm7gN4hnDNfePqk-YL7CW4PUR2fNn1ZmKw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to