Bug 718212 - db:migrate fails on postgres
Summary: db:migrate fails on postgres
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Localization and Internationalization
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent vote
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-07-01 12:31 UTC by Jeff Weiss
Modified: 2019-09-26 13:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 17:48:27 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jeff Weiss 2011-07-01 12:31:03 UTC
Description of problem:


rake aborted!
An error has occurred, this and all later migrations canceled:

PGError: ERROR:  type modifier is not allowed for type "text"
LINE 1: ALTER TABLE "roles" ADD COLUMN "description" text(2048)
                                                     ^
: ALTER TABLE "roles" ADD COLUMN "description" text(2048)


Version-Release number of selected component (if applicable):


How reproducible:
 

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Lukas Zapletal 2011-07-01 12:34:10 UTC
6070e2b fixing text vs varchar problem on pgsql

Comment 2 Jeff Weiss 2011-07-08 20:27:06 UTC
Verified, katello-0.1.49-1.git.351.4aac21a.fc14.noarch


Note You need to log in before you can comment on or make changes to this bug.