c4b5b16e6f
* likes: Data model for "Like" Conflicts: app/models/user.rb db/schema.rb
7 lines
203 B
Ruby
7 lines
203 B
Ruby
class AddLikesCountToAsciicast < ActiveRecord::Migration
|
|
def change
|
|
add_column :asciicasts, :likes_count, :integer, :null => false, :default => 0
|
|
add_index :asciicasts, :likes_count
|
|
end
|
|
end
|