3927: add NOT NULL constraint to User.owner_uuid
authorTim Pierce <twp@curoverse.com>
Thu, 18 Sep 2014 14:35:05 +0000 (10:35 -0400)
committerTim Pierce <twp@curoverse.com>
Thu, 18 Sep 2014 14:35:05 +0000 (10:35 -0400)
commit5563150b747beb8ed580d74df4423c4bc2e37aca
treea7f96c2055640b7ae010d4254245f937d49f2ded
parenta9f3e9ce8853d574e9f1aafed61085b66eb09702
3927: add NOT NULL constraint to User.owner_uuid

Added a migration setting all users with null owner_uuid to
system_user_uuid, and enforced a NOT NULL constraint on that column.
services/api/db/migrate/20140918141529_change_user_owner_uuid_not_null.rb [new file with mode: 0644]
services/api/db/structure.sql