mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Add contacts.uuid
DB column
This commit is contained in:
parent
4b977dc195
commit
981c564214
2 changed files with 9 additions and 1 deletions
5
db/migrate/20180612042625_add_uuid_to_contacts.rb
Normal file
5
db/migrate/20180612042625_add_uuid_to_contacts.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddUuidToContacts < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :contacts, :uuid, :uuid, default: 'gen_random_uuid()'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue