aeolusproject / conductor

Aeolus Conductor
http://www.aeolusproject.org/
Apache License 2.0
32 stars 27 forks source link

Relation "pool_familys" does not exist (rake db:migrate) #429

Closed mfojtik closed 11 years ago

mfojtik commented 11 years ago

Hi,

I got this error after running rake db:migrate on newly created PG database:

ENV:

~/code/conductor/src › ruby -v ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]

``` == AddEnabledToPool: migrating =============================================== -- add_column(:pools, :enabled, :boolean, {:default=>false}) -> 0.0139s == AddEnabledToPool: migrated (0.0384s) ====================================== == AddPoolFamilyQuota: migrating ============================================= -- add_column(:pool_families, :quota_id, :integer) -> 0.0010s rake aborted! An error has occurred, this and all later migrations canceled: PG::Error: ERROR: relation "pool_familys" does not exist LINE 5: WHERE a.attrelid = '"pool_familys"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pool_familys"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Tasks: TOP => db:migrate (See full trace by running task with --trace) ```
mfojtik commented 11 years ago

My fault ;-)