Update primary keys on customer data to UUIDs

- schema changes to primary and foreign keys
- fixture changes
- customer data models subclass AccountScopedRecord
- import script updated
This commit is contained in:
Mike Dalessio
2025-11-11 15:05:47 -05:00
parent ab35c730d0
commit e4011ef211
64 changed files with 608 additions and 494 deletions
+10 -5
View File
@@ -1,28 +1,33 @@
david:
id: <%= ActiveRecord::FixtureSet.identify("david", :uuid) %>
name: David
role: member
membership: david_in_37signals
account: 37s
account: 37s_uuid
jz:
id: <%= ActiveRecord::FixtureSet.identify("jz", :uuid) %>
name: JZ
role: member
membership: jz_in_37signals
account: 37s
account: 37s_uuid
kevin:
id: <%= ActiveRecord::FixtureSet.identify("kevin", :uuid) %>
name: Kevin
role: admin
membership: kevin_in_37signals
account: 37s
account: 37s_uuid
system:
id: <%= ActiveRecord::FixtureSet.identify("system", :uuid) %>
name: System
role: system
account: 37s
account: 37s_uuid
mike:
id: <%= ActiveRecord::FixtureSet.identify("mike", :uuid) %>
name: Mike
role: admin
membership: mike_in_initech
account: initech
account: initech_uuid