diff --git a/db/schema.rb b/db/schema.rb index dd125c3d3..6d4c81e73 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -159,14 +159,16 @@ ActiveRecord::Schema.define(:version => 20120730214052) do end create_table "flash_notifies", :force => true do |t| - t.text "body_ru" - t.text "body_en" - t.string "status" - t.boolean "published", :default => true + t.text "body_ru", :null => false + t.text "body_en", :null => false + t.string "status", :null => false + t.boolean "published", :default => true, :null => false t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end + add_index "projects", ["owner_id"], :name => "index_projects_on_name_and_owner_id_and_owner_type", :unique => true, :case_sensitive => false + create_table "groups", :force => true do |t| t.integer "owner_id" t.datetime "created_at", :null => false