1 class AddUserAndDescriptionToRedaction < ActiveRecord::Migration[4.2]
3 add_column :redactions, :user_id, :bigint, :null => false
4 add_column :redactions, :description_format, :format_enum, :null => false, :default => "markdown"
6 add_foreign_key :redactions, :users, :name => "redactions_user_id_fkey"