Change audio files ownership
  • Hi guys and thanks for Airtime software,

    We are migrating to a
    new server (with new database) and I need to re-affect files ownerships
    as we synchronize files with rsync so the migration should be as smooth
    as possible.

    So every files now belong to admin (user id 1). What
    is the user owner field for each file ? I've been unable to figure it
    out myself. Basically I just need to make the database coherent as
    follows :

    <stor dir>/1/blah.mp3 should be owned by user id 1 (admin)
    <stor dir>/11/blahblah.mp3 should be owned by user id 11 (me)

    And so on. Any idea? Could'n find anything on that subject.

    Thanks!
    Post edited by appzer0 at 2016-12-17 11:12:41
  • 1 Comment sorted by
  • Sorry for the noise, i juste figure it out :

    Edit the owner_id field in cc_files table and you're good to go!