Ruby on Rails
Monday, November 28, 2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7Tt6QACgkQW6QSU1GdvawE9ACdHLbiG+hN8gn2r/UBBCjaHITh
RLAAnjaxNMQvlsrde+LTG16fY97bDnY8
=2brO
-----END PGP SIGNATURE-----
Am 28.11.2011 15:29, schrieb Rebin Joseph:
> How can I get the table and field list?. From schema.rb?
> db:migrate will destroying my well defined database table structure.
> IS there any way to keep the schema.rb without overwriting it?
rails g scaffold --help
shows:
ActiveRecord options:
[--migration] # Indicates when to generate migration
# Default: true
Perhaps that is useful for you?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment