From 2353a659723a206d808eb44d2a49d339ffc9cac3 Mon Sep 17 00:00:00 2001 From: "konstantin.grabar" Date: Wed, 4 Jul 2012 16:53:44 +0400 Subject: [PATCH] [refs #442] Repair schema --- db/schema.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index 3726f88c8..ccc096c75 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -17,8 +17,8 @@ ActiveRecord::Schema.define(:version => 20120703101719) do t.integer "user_id", :null => false t.string "kind" t.text "data" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "advisories", :force => true do |t| @@ -225,7 +225,7 @@ ActiveRecord::Schema.define(:version => 20120703101719) do t.string "owner_type" t.string "visibility", :default => "open", :null => false t.string "platform_type", :default => "main", :null => false - t.string "distrib_type" + t.string "distrib_type", :null => false end add_index "platforms", ["name"], :name => "index_platforms_on_name", :unique => true, :case_sensitive => false