From da5096a26d4d7f2c0e7f3622a492263edb2453cd Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Sat, 12 May 2012 15:56:51 +0000 Subject: [PATCH] Update auto-generated DB schema definition --- db/schema.rb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index a59623d..127e8cd 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,3 +1,4 @@ +# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. @@ -15,15 +16,15 @@ ActiveRecord::Schema.define(:version => 20110916003929) do create_table "playlists", :force => true do |t| t.integer "user_id" t.string "name" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "sessions", :force => true do |t| t.string "session_id", :null => false t.text "data" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" @@ -33,21 +34,21 @@ ActiveRecord::Schema.define(:version => 20110916003929) do t.integer "track_id" t.string "sha256" t.string "mime_type" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "tracks", :force => true do |t| t.string "name" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "users", :force => true do |t| t.string "email" t.string "password_hash" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end add_index "users", ["email"], :name => "index_users_on_email", :unique => true