mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
Add domains.uuid
DB column
This commit is contained in:
parent
981c564214
commit
1eca44f32c
2 changed files with 9 additions and 1 deletions
5
db/migrate/20180612042953_add_uuid_to_domains.rb
Normal file
5
db/migrate/20180612042953_add_uuid_to_domains.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddUuidToDomains < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :domains, :uuid, :uuid, default: 'gen_random_uuid()'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue