diff --git a/db/migrate/20170602162155_add_summary_to_legislative_process.rb b/db/migrate/20170602162155_add_summary_to_legislative_process.rb new file mode 100644 index 000000000..7ac9d2255 --- /dev/null +++ b/db/migrate/20170602162155_add_summary_to_legislative_process.rb @@ -0,0 +1,5 @@ +class AddSummaryToLegislativeProcess < ActiveRecord::Migration + def change + add_column :legislation_processes, :summary, :text, limit: 280 + end +end diff --git a/db/schema.rb b/db/schema.rb index 6e2c2214e..7e49bdfc7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20170519084239) do +ActiveRecord::Schema.define(version: 20170602162155) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -418,6 +418,7 @@ ActiveRecord::Schema.define(version: 20170519084239) do t.datetime "hidden_at" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.text "summary" end add_index "legislation_processes", ["allegations_end_date"], name: "index_legislation_processes_on_allegations_end_date", using: :btree