journalduhacker/db/migrate/20150730215915_add_submitter_is_author.rb
joshua stein 0d61e0cf68 add "i am the author of this" checkbox for stories
Highlights username in a different color and says "authored by"
instead of just "by".

Move html class printing into a method in Story to use in the future
for friends, admin posts, etc.

Closes #171
2015-07-30 17:15:48 -05:00

6 lines
146 B
Ruby

class AddSubmitterIsAuthor < ActiveRecord::Migration
def change
add_column :stories, :user_is_author, :boolean, :default => false
end
end