From ac0f1c3916e797f3a2261e9a2631e496fb90a8f1 Mon Sep 17 00:00:00 2001
From: Barry Warsaw
Date: Thu, 15 Mar 2012 15:48:41 -0700
Subject: Schema change.  After discussion at Pycon, we decided to change
 "real_name" to "display_name" across the board.

 * `IMailingList.real_name` -> `IMailingList.display_name`
 * `IUser.real_name` -> `IUser.display_name`
 * `IAddress.real_name` -> `IAddress.display_name`

 * Schema changes:
   - real_name        -> display_name (mailinglist, user, address)
---
 src/mailman/database/schema/postgres.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/mailman/database/schema/postgres.sql')

diff --git a/src/mailman/database/schema/postgres.sql b/src/mailman/database/schema/postgres.sql
index 713d6d1a3..9becdb5dc 100644
--- a/src/mailman/database/schema/postgres.sql
+++ b/src/mailman/database/schema/postgres.sql
@@ -89,7 +89,7 @@ CREATE TABLE mailinglist (
     posting_pipeline TEXT,
     preferred_language TEXT,
     private_roster BOOLEAN,
-    real_name TEXT,
+    display_name TEXT,
     reject_these_nonmembers BYTEA,
     reply_goes_to_list INTEGER,
     reply_to_address TEXT,
@@ -154,7 +154,7 @@ CREATE TABLE address (
     id SERIAL NOT NULL,
     email TEXT,
     _original TEXT,
-    real_name TEXT,
+    display_name TEXT,
     verified_on TIMESTAMP,
     registered_on TIMESTAMP,
     user_id INTEGER,
@@ -168,7 +168,7 @@ CREATE TABLE address (
 
 CREATE TABLE "user" (
     id SERIAL NOT NULL,
-    real_name TEXT,
+    display_name TEXT,
     password BYTEA,
     _user_id UUID,
     _created_on TIMESTAMP,
-- 
cgit v1.2.3-70-g09d2

