Tenants table:
id | name | url | created_at | updated_at |
---|---|---|---|---|
1 | johndoe | johndoe.example.com | 1970-01-01T00:00:00Z | 1970-01-01T00:00:00Z |
2 | jamesdoe | jamesdoe.example.com | 1970-01-01T00:00:01Z | 1970-01-01T00:00:01Z |
3 | murielbing | murielbing.example.com | 1970-01-01T00:00:02Z | 1970-01-01T00:00:02Z |
Users table:
id | tenant_id | pwd | created_at | updated_at | |
---|---|---|---|---|---|
1 | 1 | johndeo@example.com | $2y$11$hHs1HTCAZUEn3eHtiwNvX.kX4RUaXS25ks.kBZCyJJaEx8Ho9KA86 | 1970-01-01T00:00:00Z | 1970-01-01T00:00:00Z |
2 | 1 | johnassistant@example.com | $2y$11$hHs1HTCAZUEn3eHtiwNvX.kX4RUaXS25ks.kBZCyJJaEx8Ho9KA76 | 1970-01-01T00:00:01Z | 1970-01-01T00:00:01Z |
3 | 2 | jamesdoe@example.com | $2y$11$hHs1HTCAZUEn3eHtiwNvX.kX4RUaXS25ks.kBZCyJJaEx8Ho9KA66 | 1970-01-01T00:00:02Z | 1970-01-01T00:00:02Z |
4 | 3 | murielbing@example.com | $2y$11$hHs1HTCAZUEn3eHtiwNvX.kX4RUaXS25ks.kBZCyJJaEx8Ho9KA56 | 1970-01-01T00:00:03Z | 1970-01-01T00:00:03Z |