test/basepack_test_app/db/schema.rb in netzke-basepack-0.7.7 vs test/basepack_test_app/db/schema.rb in netzke-basepack-0.8.0

- old
+ new

@@ -17,65 +17,65 @@ t.integer "user_id" t.string "street" t.string "city" t.string "postcode" t.integer "country_id" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "authors", :force => true do |t| t.string "first_name" t.string "last_name" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "book_with_custom_primary_keys", :primary_key => "uid", :force => true do |t| t.string "title" t.integer "author_id" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end create_table "books", :force => true do |t| t.integer "author_id" t.string "title" t.integer "exemplars" t.boolean "digitized", :default => false t.text "notes" t.string "tags" t.integer "rating" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false t.datetime "last_read_at" t.date "published_on" end create_table "netzke_component_states", :force => true do |t| t.string "component" t.integer "user_id" t.integer "role_id" t.text "value" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end add_index "netzke_component_states", ["component"], :name => "index_netzke_component_states_on_component" add_index "netzke_component_states", ["role_id"], :name => "index_netzke_component_states_on_role_id" add_index "netzke_component_states", ["user_id"], :name => "index_netzke_component_states_on_user_id" create_table "roles", :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 "first_name" t.string "last_name" t.integer "role_id" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end end