diff options
| author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-02-05 22:26:37 -0500 | 
|---|---|---|
| committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-02-05 22:26:37 -0500 | 
| commit | cbe2ff86f1a6873b88e314011ee64b6c25f3359c (patch) | |
| tree | 03f20093fd59edccb9dcafd1dbb7d1d65fd96c02 /migrations/2020-02-04-223649_entry_data | |
| parent | 97b82520aacacbe600c8918b26b5b29b8d47d4d1 (diff) | |
Extract basics info from strava and display it
Diffstat (limited to 'migrations/2020-02-04-223649_entry_data')
| -rw-r--r-- | migrations/2020-02-04-223649_entry_data/down.sql | 1 | ||||
| -rw-r--r-- | migrations/2020-02-04-223649_entry_data/up.sql | 15 | 
2 files changed, 0 insertions, 16 deletions
diff --git a/migrations/2020-02-04-223649_entry_data/down.sql b/migrations/2020-02-04-223649_entry_data/down.sql deleted file mode 100644 index a10c419..0000000 --- a/migrations/2020-02-04-223649_entry_data/down.sql +++ /dev/null @@ -1 +0,0 @@ -drop table entry_data; diff --git a/migrations/2020-02-04-223649_entry_data/up.sql b/migrations/2020-02-04-223649_entry_data/up.sql deleted file mode 100644 index dde9288..0000000 --- a/migrations/2020-02-04-223649_entry_data/up.sql +++ /dev/null @@ -1,15 +0,0 @@ -create table entry_data ( -  username varchar not null, -  entry_type varchar(16) not null, -  entry_id bigint not null, -  data_type varchar(8) not null, -  data_id bigint not null, - -primary key(username, entry_type, entry_id, data_type, data_id), - -foreign key (username, entry_type, entry_id) -references entries(username, entry_type, id), - -foreign key (data_type, data_id) -references raw_data(data_type, id) -);  | 
