Am Mittwoch, 7. September 2011, 22:47:28 schrieb 安立久:
> >2011-09-07 22:22:34,"Adrian Schröter" <adrian@suse.de>:
> >
> >it would be an entry in the table, not a field.
> >
> >--
> >Adrian Schroeter
> >SUSE Linux Products GmbH
> >email: adrian@suse.de>
>
> there is 0 row in the roles table,
> ############# this is how I set up the api_production database: ######
> cd /srv/www/obs/api/db/
>
> mysql -u obs -p api_production<production_structure.sql
>
> cd /srv/www/obs/api/
>
> RAILS_ENV="production" rake db:migrate
for the initial setup you should use "rake db:setup". Actually migrate should complain about being used on an empty database meanwhile.
And the bugowner entry should be inside of the database since our first release already, so a migrate should not change anything here.
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de