diff options
author | francis <francis> | 2007-08-29 12:12:44 +0000 |
---|---|---|
committer | francis <francis> | 2007-08-29 12:12:44 +0000 |
commit | fb2f5814a04dd21b8ea38609e9a654b4635bcebc (patch) | |
tree | 636f11a93b9e31e97dbd825ef877cd7b282b7c80 /db/schema.rb | |
parent | 486b7e00672624e68fdb006d683f199752b7a6cb (diff) |
Model for a public body, and basic scaffold to edit it.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index de6ac6216..eaabdc961 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2,13 +2,20 @@ # migrations feature of ActiveRecord to incrementally modify your database, and # then regenerate this schema definition. -ActiveRecord::Schema.define(:version => 4) do +ActiveRecord::Schema.define(:version => 5) do create_table "info_requests", :force => true do |t| t.column "title", :text t.column "user_id", :integer 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 + end + create_table "sessions", :force => true do |t| t.column "session_id", :string t.column "data", :text |