Commit Graph

88 Commits

Author SHA1 Message Date
Nick Griffey 0f99098de5 add more check constraints 2024-02-01 20:48:12 -06:00
Nick Griffey 16ff759879 add some unique constraints 2024-02-01 19:53:07 -06:00
Nick Griffey 6f6318b5e0 add some check constraints, but don't enforce all of them 2024-02-01 00:35:17 -06:00
Nick Griffey b079f6d1c4 fix more foreign key errors 2024-01-31 23:06:51 -06:00
Nick Griffey e6cdb8509f explicitly disable foreign key constraint checking 2024-01-31 22:43:23 -06:00
Nick Griffey b8963f526c resolve some foreign key issues 2024-01-31 22:37:26 -06:00
Nick Griffey 321fea8d5d Get rid of load.sql 2024-01-31 00:15:58 -06:00
Nick Griffey ac9a713457 remove divwin column 2024-01-30 21:18:14 -06:00
Nick Griffey a4767f36d4 change keys 2024-01-30 20:30:31 -06:00
Nick Griffey 4f8694bfb9 correction 2024-01-30 20:30:24 -06:00
Nick Griffey c5c218b571 alphabetize sql files 2024-01-29 23:08:15 -06:00
Nick Griffey 2a18e2e8f4 use appearancespost as foreign key 2024-01-29 22:11:19 -06:00
Nick Griffey c22af98eb9 use seriespost as foreign key 2024-01-29 22:03:44 -06:00
Nick Griffey 8f519b8437 change foreign key for managershalf 2024-01-29 21:57:31 -06:00
Nick Griffey f0b4c0c3b5 drop team column 2024-01-29 21:43:52 -06:00
Nick Griffey 6d4e593065 use playerstints table for foreign keys 2024-01-29 21:37:11 -06:00
Nick Griffey 460604fc49 add playerstints table 2024-01-29 21:28:21 -06:00
Nick Griffey 81e7471c12 correct team codes 2024-01-29 20:55:27 -06:00
Nick Griffey 9581cc7dea move allstar tables 2024-01-29 20:34:07 -06:00
Nick Griffey e80bf97a43 move managershalf 2024-01-29 19:59:41 -06:00
Nick Griffey 4e6f000d3f move teamshalf 2024-01-29 19:48:17 -06:00
Nick Griffey aba5b75ad5 split parkaliases transform into own file 2024-01-28 19:24:29 -06:00
Nick Griffey 042ac946d7 move awardsplayers 2024-01-28 19:16:57 -06:00
Nick Griffey 8583b6332f move hall of fame tables 2024-01-28 19:07:59 -06:00
Nick Griffey dfd2b78fb2 use yearlyawards table for foreign key constraints 2024-01-28 13:07:15 -06:00
Nick Griffey 09b33302aa add yearlyawards table 2024-01-28 13:02:38 -06:00
Nick Griffey 6b3d32cef9 make award names match awards table 2024-01-28 12:41:26 -06:00
Nick Griffey 3c6880ee54 remove 2024-01-28 00:34:49 -06:00
Nick Griffey 9924917547 move awardsshare tables 2024-01-28 00:33:56 -06:00
Nick Griffey 0157dd859a move fieldingof 2024-01-28 00:17:17 -06:00
Nick Griffey d8c91e3909 move postseasons tables 2024-01-28 00:09:06 -06:00
Nick Griffey 8539a3f0af add league names 2024-01-27 23:39:30 -06:00
Nick Griffey 56807b1027 move awardsmanagers 2024-01-27 23:29:53 -06:00
Nick Griffey 3a60d30ff8 move managers 2024-01-27 23:14:56 -06:00
Nick Griffey 00f197d89f fix foreign key violations cascading from fixing team ids 2024-01-27 22:53:07 -06:00
Nick Griffey f2f6f04a39 change foreign keys for salaries 2024-01-27 22:41:40 -06:00
Nick Griffey 6bc8d4e9e9 use appearances as parent for foreign key constraints 2024-01-27 22:28:49 -06:00
Nick Griffey eb489be084 update foreign keys 2024-01-27 22:14:41 -06:00
Nick Griffey 4355180c43 add league foreign key 2024-01-27 21:51:42 -06:00
Nick Griffey 8c475d36e5 add leagues table 2024-01-27 21:48:57 -06:00
Nick Griffey 45b6b1a79a rename table 2024-01-27 21:45:23 -06:00
Nick Griffey ec2a2057f2 rename table 2024-01-27 21:41:23 -06:00
Nick Griffey 67fc105f66 add team foreign keys 2024-01-27 21:29:07 -06:00
Nick Griffey 9f0ac4098b add teamcodes table 2024-01-27 21:19:48 -06:00
Nick Griffey b30302eea6 fix team codes 2024-01-27 21:07:24 -06:00
Nick Griffey c5c4cbd1cf move fieldingofsplit 2024-01-27 20:25:09 -06:00
Nick Griffey 30010d5880 move seriespost 2024-01-27 20:19:54 -06:00
Nick Griffey 3f619aaf62 move homegames 2024-01-27 20:13:16 -06:00
Nick Griffey e1f572c122 move appearances 2024-01-27 20:05:47 -06:00
Nick Griffey f47e756cc0 move batting, pitching, fielding 2024-01-27 20:02:00 -06:00