ASD-at-GMF / disinfo-laundromat

MIT License
14 stars 6 forks source link

Source domain #64

Open abargar opened 5 months ago

abargar commented 5 months ago
  1. Returns the source - domain pairs as part of the fingerprinting function. Updates the two sites tables (sites_user and sites_base) to be a single table with a new column.

  2. Adds thecreate_all functionality to init_app. If the tables do not exist, this creates the tables during the app initialization.

Note: this includes a db schema change from development, so a migration is needed for any databases already initialized: flask db upgrade, more context provided in https://flask-migrate.readthedocs.io/en/latest/

This is built on top of https://github.com/ASD-at-GMF/disinfo-laundromat/pull/60