Commit graph

8 commits

Author SHA1 Message Date
Matt Baer
61ddcff2c0 Add copyright notices to fixed files 2020-03-03 11:47:38 -06:00
Matt Baer
83b2c5a21b Fix unique index on v5 SQLite migration
This index needed a unique name in order for this query to succeed.
2020-03-03 11:46:51 -06:00
Matt Baer
471ef4d403 Fix "NOT NULL column with NULL" error in v5 SQLite migration
Previously, this migration would cause the error: "Cannot add a NOT NULL
column with default value NULL". This fixes that by setting the default
value for new columns to '' (empty string). It updates the query builder
to support this, too.
2020-03-03 11:43:46 -06:00
Matt Baer
bb5da1d3f5 Break up v5 table ALTERs for SQLite
Combining all operations into a single query was causing problems in
SQLite. This fixes that by breaking them up into separate queries. It
also moves one column length change to only run on MySQL, since SQLite
doesn't need it.
2020-03-03 11:40:56 -06:00
Matt Baer
f1ffcf96ec Remove user_id and remote_user_id constraints in v4&v5 migrations
It's not straightforward to remove these constraints in SQLite, so this
just skips it entirely. Since both of these migrations are part of the
same WF release, this should have minimal impact on admins.
2020-03-03 11:36:30 -06:00
Nick Gerakines
9170c84617 Merged in final changes from PR 225 into T705-oauth-slack. T710 2019-12-31 11:48:08 -05:00
Nick Gerakines
cf87ae9096 Code cleanup in prep for PR. T710 2019-12-30 13:32:06 -05:00
Nick Gerakines
462f87919a Feature complete on MVP slack auth integration. T710 2019-12-28 15:15:47 -05:00