ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Feb 9, 2009, 4:17:20 PM (14 years ago)
Author:
ebihara
Message:

#3290:changed a way to implement managing inviting members

  • dropped the invitelist table because it doesn't has much advantages
  • added the column for storing inviter's member_id to the member table
  • fixed InvitelistForm? allows deleting invitation from non-inviting member (this bug is a critical)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/config/schema.yml

    r10675 r10706  
    44    name: { type: varchar(64), required: true, defaultValue: "" }
    55    is_active: { type: boolean, required: true, defaultValue: 0 }
     6    invite_member_id: { type: integer, required: false, foreignTable: member, foreignReference: id, onDelete: setnull }
    67    created_at: ~
    78    updated_at: ~
     
    136137    uid: { type: varchar(32), index: unique, required: true, defaultValue: "" }
    137138    memo: { type: longvarchar }
    138 
    139   invitelist:
    140     created_at: ~
    141     member_id_from: { type:integer, foreignTable: member, foreignReference: id, opDelete: cascade }
    142     member_id_to: { type:integer, foreignTable: member, foreignReference: id }
    143     mail_address: { type: longvarchar }
Note: See TracChangeset for help on using the changeset viewer.