civictechindex / CTI-website-backend

Python-Django based backend for Civic Tech Index

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BACKEND: Add an Alias Table/API to Keep the Different Versions for a Tag

emecas opened this issue · comments

Samples:

  • hack-for-la , hackforla , hack4la, hack-4-la
  • code-for-america , codeforamerica , code-4-america , code4america
  • civictechindex , civic-tech-index

image

CREATE TABLE `alias` (
  `id` int NOT NULL AUTO_INCREMENT,
  `tag` varchar(30) NOT NULL,
  `alias` varchar(30) NOT NULL,
  PRIMARY KEY (`id`)
) 

Progress Report 02/07/2021:

Created PR #36 available for review. ( @cnk @giosce @shinjonathan )

@cnk and @giosce please review and commit if OK

I'm still not clear of the use cases to have the alias API (including post and patch endpoints).