Create table from within rails?

Hi,

I’m looking to create tables from within rails, using mysql. Can I do
this from within rails, or would I have to create a separate class that
uses Mysql directly?

Any tips highly appreciated,

  • Matt

Mathew Hennessy wrote:

Hi,

I’m looking to create tables from within rails, using mysql. Can I do
this from within rails, or would I have to create a separate class that
uses Mysql directly?

Any tips highly appreciated,

  • Matt

I was just reading about ActiveRecord::Schema. I’ve never used it
myself, but it might be a place to start looking.

-Mat (with one T :slight_smile: