mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Change contacts.name
database column to NOT NULL
This commit is contained in:
parent
b4be9e7f00
commit
22c6fd61e3
5 changed files with 14 additions and 8 deletions
|
@ -18,8 +18,8 @@ class ContactVersionsTest < ApplicationSystemTestCase
|
|||
|
||||
def create_contact_with_history
|
||||
sql = <<-SQL.squish
|
||||
INSERT INTO contacts (id, code, email, auth_info, registrar_id)
|
||||
VALUES (75, 'test_code', 'test@inbox.test', '8b4d462aa04194ca78840a', #{@registrar.id});
|
||||
INSERT INTO contacts (id, name, code, email, auth_info, registrar_id)
|
||||
VALUES (75, 'test_name', 'test_code', 'test@inbox.test', '8b4d462aa04194ca78840a', #{@registrar.id});
|
||||
|
||||
INSERT INTO log_contacts (item_type, item_id, event, whodunnit, object,
|
||||
object_changes, created_at, session, children, ident_updated_at, uuid)
|
||||
|
@ -55,4 +55,4 @@ class ContactVersionsTest < ApplicationSystemTestCase
|
|||
assert_text 'Best Names'
|
||||
assert_text '23.04.18, 18:50 update 1-AdminUser'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue