I subscribed to this mailint list this morning after days looking for
the way to do it, so this is my first post.
My name is Miquel and I have been coding with ruby for a year and a
half (using Qtruby bindings) and now I’m a rails newbie (I’m with it
since a month ago). Now I’m coding an app and I’m trying to create
(using migrations) a table which has a column named ‘id’ which is
primary key but it’s not auto_increment. The primary key db schema of
this part is:
Table users: ‘id’ primary key auto_increment.
Table registered_users: ‘id’ primary key.
Table non_registered_users: ‘id’ primary key.
I migrated it using the execute command to create the table first and
after using the add_column command.
My question is…is there a way using rails migrations to create
these three tables?
Thanks in advance.
Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 126.96.36.199)
Welcome to the jungle, we got fun and games
Guns n’ Roses