On 14/03/2014 12:22 μμ, Damien Hubert wrote:
> Hello,
> 
> I migrated my DB from mysql to postgres by following this guide
> :https://github.com/gitlabhq/gitlab-recipes/tree/master/database/migrate-mysql-to-postgres
> 
> unfortunately when i try to create new user i get this error:
> 
> ActiveRecord::StatementInvalid (PG::Error: ERROR:  null value in column
> "can_create_team" violates not-null constraint
> : INSERT INTO "users" ("admin", "authentication_token", "avatar", "bio",
> "can_create_group", "can_create_team", "color_scheme_id",
> "confirmation_sent_at", "confirmation_token", "confirmed_at",
> "created_at", "created_by_id", "current_sign_in_at",
> "current_sign_in_ip", "email", "encrypted_password", "extern_uid",
> "failed_attempts", "last_sign_in_at", "last_sign_in_ip", "linkedin",
> "locked_at", "name", "notification_level", "password_expires_at",
> "projects_limit", "provider", "remember_created_at",
> "reset_password_sent_at", "reset_password_token", "sign_in_count",
> "skype", "state", "theme_id", "twitter", "unconfirmed_email",
> "updated_at", "username") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9,
> $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23,
> $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37,
> $38) RETURNING "id"):
> 
> Someone already get this error?
> Thanks
> 

Hi Damien,

Can you open an issue at
https://gitlab.com/gitlab-org/gitlab-recipes/issues ?


-- 
GPG : 0xABF99BE5
Blog: http://axilleas.me

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to