Was wondering if anyone working with Ruby on Rails could advise?
I am developing a blog for my site, but was thinking of also having it
as an application which I could distribute. To this end I would want
the application to generate the tables for the database itself, instead
of requiring that they be manually set up using either the command line
or PHPMyAdmin or whatever. Is this possible? Then if the tables are
already there it does nothing. It would mean that anyone could take the
app, it would run the first time and do all the setup needed, with the
only modifications to the code necessary being the adaption of the
database.yml file to tell it the name, username, etc of the databases.
I’m new to Rails so if you could please take this into account when
explaining, thanks for your time.