diff options
author | francis <francis> | 2007-09-03 13:52:01 +0000 |
---|---|---|
committer | francis <francis> | 2007-09-03 13:52:01 +0000 |
commit | 4f73b2affce8b4c64ac0877d5683a3db33a45d36 (patch) | |
tree | bf3f814a8d5ced1fe78c67dc57d5c496ed300936 /db/schema.rb | |
parent | ffdbf0562b5e93dfa4d60ca9e4817b1acf1806b0 (diff) |
Log last editor and allow a comment for public body editing.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/db/schema.rb b/db/schema.rb index 46802bf9a..8d159eae6 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2,7 +2,7 @@ # migrations feature of ActiveRecord to incrementally modify your database, and # then regenerate this schema definition. -ActiveRecord::Schema.define(:version => 6) do +ActiveRecord::Schema.define(:version => 7) do create_table "info_requests", :force => true do |t| t.column "title", :text @@ -10,21 +10,25 @@ ActiveRecord::Schema.define(:version => 6) do end create_table "public_bodies", :force => true do |t| - t.column "name", :text - t.column "short_name", :text - t.column "request_email", :text - t.column "complaint_email", :text - t.column "version", :integer + t.column "name", :text + t.column "short_name", :text + t.column "request_email", :text + t.column "complaint_email", :text + t.column "version", :integer + t.column "last_edit_editor", :string + t.column "last_edit_comment", :string end create_table "public_body_versions", :force => true do |t| - t.column "public_body_id", :integer - t.column "version", :integer - t.column "name", :text - t.column "short_name", :text - t.column "request_email", :text - t.column "complaint_email", :text - t.column "updated_at", :datetime + t.column "public_body_id", :integer + t.column "version", :integer + t.column "name", :text + t.column "short_name", :text + t.column "request_email", :text + t.column "complaint_email", :text + t.column "updated_at", :datetime + t.column "last_edit_editor", :string + t.column "last_edit_comment", :string end create_table "sessions", :force => true do |t| |