fix user feedback controller test

This commit is contained in:
albert
2011-07-17 18:40:24 -04:00
parent 72e9da01b5
commit 98403d0cb7
17 changed files with 100 additions and 154 deletions

View File

@@ -2396,7 +2396,7 @@ CREATE TABLE user_feedback (
id integer NOT NULL,
user_id integer NOT NULL,
creator_id integer NOT NULL,
is_positive boolean NOT NULL,
category character varying(255) NOT NULL,
body text NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone

View File

@@ -3,7 +3,7 @@ class CreateUserFeedback < ActiveRecord::Migration
create_table :user_feedback do |t|
t.column :user_id, :integer, :null => false
t.column :creator_id, :integer, :null => false
t.column :is_positive, :boolean, :null => false
t.column :category, :string, :null => false
t.column :body, :text, :null => false
t.timestamps
end