Created
August 10, 2013 18:24
-
-
Save abhishek0/6201552 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class CreateInquiries < ActiveRecord::Migration | |
def change | |
create_table :inquiries, id: false do |t| | |
t.primary_key :id, :uuid, :default => 'uuid_generate_v1()' | |
t.belongs_to :contact | |
t.string :inquiry_type | |
t.hstore :metadata | |
t.string :locality | |
t.string :city | |
t.uuid :added_by | |
t.boolean :verified | |
t.boolean :rejected | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment