Skip to content

Commit

Permalink
Getting a recent db baseline to work with since it's been a while.
Browse files Browse the repository at this point in the history
Updating script to used a fixed date so we have cleaner diffs!
  • Loading branch information
Pysis868 committed Apr 25, 2018
1 parent e746369 commit e4074ba
Show file tree
Hide file tree
Showing 2 changed files with 596 additions and 10 deletions.
9 changes: 5 additions & 4 deletions dev/db/exportDatabaseForDev-generateDevUsers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ SELECT
'$2y$13$6X4RYJqepBi2Te1pY1nq5.oGtUMY7aB6SOTO2lTEOx7lUTlNwOfqS' AS `password`,
CONCAT('test', `unique_marker_and_marker_tab_users`.`user_id`) AS `name`,
CONCAT('test', `unique_marker_and_marker_tab_users`.`user_id`, '@test.com') AS `email`,
now() AS `created`,
'2018-01-02 02:40:51' AS `created`,
'127.0.0.1' AS `ip`,
now() AS `last_login`,
'2018-01-02 02:40:51' AS `last_login`,
`user`.`level`,
`user`.`visible`
FROM
FROM
(
SELECT `user_id`
FROM `marker`
Expand All @@ -21,4 +21,5 @@ FROM
ORDER BY `user_id`
) AS `unique_marker_and_marker_tab_users`
LEFT JOIN `user`
ON `unique_marker_and_marker_tab_users`.`user_id` = `user`.`id`
ON `unique_marker_and_marker_tab_users`.`user_id` = `user`.`id`
;
Loading

0 comments on commit e4074ba

Please sign in to comment.