diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T18·27+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T18·27+0200 |
commit | da33786939979350b58a09145b56913963380c92 (patch) | |
tree | 1d7013ca991795b11a24b14ab9fa56446a2baad6 /migrations/2018-04-08-182319_add_authors/down.sql | |
parent | ef5f7af89c8dfadca3d2515e4fa1ce71a4b778b9 (diff) |
feat(migrations): Add author columns to tables
Adds columns for author names and emails to both threads and posts. "Users" don't (yet? who knows!) exist as independent entity in Converse, they are simply "inferred" via OIDC providers.
Diffstat (limited to 'migrations/2018-04-08-182319_add_authors/down.sql')
-rw-r--r-- | migrations/2018-04-08-182319_add_authors/down.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/migrations/2018-04-08-182319_add_authors/down.sql b/migrations/2018-04-08-182319_add_authors/down.sql new file mode 100644 index 000000000000..8ad817908065 --- /dev/null +++ b/migrations/2018-04-08-182319_add_authors/down.sql @@ -0,0 +1,5 @@ +ALTER TABLE threads DROP COLUMN author_name; +ALTER TABLE threads DROP COLUMN author_email; + +ALTER TABLE posts DROP COLUMN author_name; +ALTER TABLE posts DROP COLUMN author_email; |