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

Changeset 5052


Ignore:
Timestamp:
Jan 27, 2008, 8:41:51 PM (11 years ago)
Author:
ogawa
Message:

#1843:member,diary,diary_commentのモデル作成

Location:
OpenPNE/branches/work/ogawa/symfony
Files:
20 added
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ogawa/symfony/config/databases.yml

    r5048 r5052  
    1 #all:
    2 #  propel:
    3 #    class:          sfPropelDatabase
    4 #    param:
    5 #      dsn:          mysql://root@localhost/dbname
     1all:
     2  propel:
     3    class:          sfPropelDatabase
     4    param:
     5      dsn:          mysql://root@localhost/openpne
     6      encoding:     utf8
  • OpenPNE/branches/work/ogawa/symfony/config/schema.yml

    r5048 r5052  
     1propel:
     2  member:
     3    id:
     4    nickname: { type: longvarchar, required: true }
     5    password: { type: varchar(128), required: true }
     6    password_salt: { type: varchar(128), required: true }
     7    mail_address: { type: varchar(255), required: true }
     8    created_at:
     9    _uniques:
     10      mail_address: [mail_address]
     11  diary:
     12    id:
     13    member_id:
     14    title: { type: longvarchar, required: true }
     15    body: { type: longvarchar, required: true }
     16    created_at:
     17    updated_at:
     18  diary_comment:
     19    id:
     20    diary_id:
     21    member_id:
     22    body: { type: longvarchar, required: true }
     23    created_at:
Note: See TracChangeset for help on using the changeset viewer.