Switching to RoR with database


#1

Hi,

I’m trying to figure out how to switch to ruby on rails, but I want to
keep the tables and i do not care about the values inside the tables,
just the schema.

I have export my mysql database to a .sql file but i guess I do not need
to do that.

I just want to tell rails that
i have 3 tables i.e table_one table_two and table_three
and foreign_id_name in table_one points to table_two’s id

any help is appreciated

thank you


#2

Hi,

never mind, i ran db:migrate and the schema got created
this is magic!!