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

Changeset 3718


Ignore:
Timestamp:
Aug 15, 2007, 11:22:50 PM (12 years ago)
Author:
ebihara
Message:

#1053:特定のテーブルに、更新日時を記録するu_datetimeカラムを追加

Location:
OpenPNE/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/commu.php

    r3693 r3718  
    20332033        'r_datetime' => db_now(),
    20342034        'r_date' => db_now(),
     2035        'u_datetime' => db_now(),
    20352036        'image_filename' => '',
    20362037    );
     
    20642065        'public_flag' => $public_flag,
    20652066        'is_send_join_mail' => (bool)$is_send_join_mail,
     2067        'u_datetime' => db_now(),
    20662068    );
    20672069
  • OpenPNE/trunk/webapp/lib/db/diary.php

    r3608 r3718  
    983983        'r_datetime' => db_now(),
    984984        'r_date' => db_now(),
     985        'u_datetime' => db_now(),
    985986        'is_checked' => 1,
    986987        'image_filename_1' => '',
     
    10051006        'body' => $body,
    10061007        'public_flag' => util_cast_public_flag_diary($public_flag),
     1008        'u_datetime' => db_now(),
    10071009    );
    10081010    if ($image_filename_1) $data['image_filename_1'] = $image_filename_1;
  • OpenPNE/trunk/webapp/lib/db/member.php

    r3591 r3718  
    886886        'birth_day'   => intval($prof_list['birth_day']),
    887887        'public_flag_birth_year' => $prof_list['public_flag_birth_year'],
     888        'u_datetime' => db_now(),
    888889    );
    889890    $where = array('c_member_id' => intval($c_member_id));
     
    993994        'is_receive_daily_news' => intval($c_member['is_receive_daily_news']),
    994995        'r_date' => db_now(),
     996        'u_datetime' => db_now(),
    995997        'image_filename' => '',
    996998        'image_filename_1' => '',
     
    10801082        'is_shinobiashi' => $is_shinobiashi,
    10811083        'schedule_start_day' => $schedule_start_day,
     1084        'u_datetime' => db_now(),
    10821085    );
    10831086    $where = array('c_member_id' => intval($c_member_id));
     
    15741577        'is_receive_daily_news' => true,
    15751578        'r_date' => db_now(),
     1579        'u_datetime' => db_now(),
    15761580        'image_filename' => '',
    15771581        'image_filename_1' => '',
  • OpenPNE/trunk/webapp/lib/db/schedule.php

    r3591 r3718  
    100100        'end_date' => $end_date,
    101101        'end_time' => $end_time,
     102        'u_datetime' => db_now(),
    102103        'is_receive_mail' => (bool)$is_receive_mail,
    103104    );
     
    120121        'end_date' => $end_date,
    121122        'end_time' => $end_time,
     123        'u_datetime' => db_now(),
    122124        'is_receive_mail' => (bool)$is_receive_mail,
    123125    );
Note: See TracChangeset for help on using the changeset viewer.