diff --git a/modules/system/system.install b/modules/system/system.install
index ad15851..a79c477 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1454,6 +1454,7 @@ function system_schema() {
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
+        'default' => 0,
       ),
       'sid' => array(
         'description' => "A session ID. The value is generated by Drupal's session handlers.",
@@ -3016,6 +3017,20 @@ function system_update_7073() {
 }
 
 /**
+ * Set the {sessions}.uid field default value to 0, making possible a schema
+ * change for the {sessions} table for future Drupal 8 migration.
+ */
+function system_update_7074() {
+  db_change_field('sessions', 'uid', 'uid', array(
+    'description' => 'The {users}.uid corresponding to a session, or 0 for anonymous user.',
+    'type' => 'int',
+    'unsigned' => TRUE,
+    'not null' => TRUE,
+    'default' => 0,
+  ));
+}
+
+/**
  * @} End of "defgroup updates-7.x-extra".
  * The next series of updates should start at 8000.
  */
