Displaying 2 results from an estimated 2 matches for "books_id_seq".
2006 Apr 25
3
rake test:units fails on Postgresql due to nil
Following the directions in:
http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=2
I get through the:
rake db:migrate
With the tables created properly but then when I run the:
rake test:units
I get a failure:
ActiveRecord::StatementInvalid: RuntimeError: ERROR C23502 Mnull
value in column "title" violates not-null constraint FexecMain.c
L1750
2006 Jan 05
1
recipes/categories to books/authors but listing doesn''t work
...r | not null default nextval(''public.authors_id_seq''::text)
last_name | character varying(20) |
first_name | character varying(20) |
other_name | character varying(20) |
books table:
id | integer | not null default nextval(''public.books_id_seq''::text)
media | character(2) | not null
title | character varying(50) | not null
year | integer | not null
cat | character(1) | not null
back | character(1) |
own | character(1) |
author_id | integer...