* Missing files
* Work on post exploration code by traversing dates
This commit is contained in:
@@ -1089,6 +1089,7 @@ CREATE TABLE post_votes (
|
||||
id integer NOT NULL,
|
||||
post_id integer NOT NULL,
|
||||
user_id integer NOT NULL,
|
||||
score integer NOT NULL,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone
|
||||
);
|
||||
|
||||
@@ -3,6 +3,7 @@ class CreatePostVotes < ActiveRecord::Migration
|
||||
create_table :post_votes do |t|
|
||||
t.column :post_id, :integer, :null => false
|
||||
t.column :user_id, :integer, :null => false
|
||||
t.column :score, :integer, :null => false
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user