3 class AddUserAndDescriptionToRedaction < ActiveRecord::Migration
5 add_column :redactions, :user_id, :bigint, :null => false
6 add_column :redactions, :description_format, :format_enum, :null => false, :default => "markdown"
8 add_foreign_key :redactions, :users, :name => "redactions_user_id_fkey"