added artists, comments

This commit is contained in:
albert
2010-02-15 13:59:58 -05:00
parent 3d9d6e229a
commit e9c2d1e636
28 changed files with 1044 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
class CreateCommentVotes < ActiveRecord::Migration
def self.up
create_table :comment_votes do |t|
t.column :comment_id, :integer, :null => false
t.column :user_id, :integer, :null => false
t.timestamps
end
add_index :comment_votes, :user_id
end
def self.down
drop_table :comment_votes
end
end