Created
December 10, 2013 23:56
-
-
Save Sunnyztj/7902618 to your computer and use it in GitHub Desktop.
sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails g model Coupon name coupon_type discount:float description:text category_id:integer address:string terms_and_conditions:text | |
t.string :image_file_name | |
t.integer :image_file_size | |
t.string :image_content_type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment