fix user feedback controller test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user