From c8dfd14fb4034b7683af679e3cdd4fed29bcc224 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Thu, 7 Jul 2022 11:54:43 -0400 Subject: [PATCH] Remove sql creation scripts for proof of concept database --- _sql/Create_Database_Empty.sql | 4 - _sql/Create_Database_Test.sql | 2 - _sql/Create_Table_Contributors.sql | 8 -- _sql/Create_Table_Episodes.sql | 13 --- _sql/Create_Table_Tag_To_Episodes.sql | 5 - _sql/Create_Table_Tags.sql | 5 - _sql/Insert_Test_Data.sql | 129 -------------------------- 7 files changed, 166 deletions(-) delete mode 100644 _sql/Create_Database_Empty.sql delete mode 100644 _sql/Create_Database_Test.sql delete mode 100644 _sql/Create_Table_Contributors.sql delete mode 100644 _sql/Create_Table_Episodes.sql delete mode 100644 _sql/Create_Table_Tag_To_Episodes.sql delete mode 100644 _sql/Create_Table_Tags.sql delete mode 100644 _sql/Insert_Test_Data.sql diff --git a/_sql/Create_Database_Empty.sql b/_sql/Create_Database_Empty.sql deleted file mode 100644 index bc5c0a2..0000000 --- a/_sql/Create_Database_Empty.sql +++ /dev/null @@ -1,4 +0,0 @@ -.read Create_Table_Contributors.sql -.read Create_Table_Episodes.sql -.read Create_Table_Tags.sql -.read Create_Table_Tag_To_Episodes.sql diff --git a/_sql/Create_Database_Test.sql b/_sql/Create_Database_Test.sql deleted file mode 100644 index 3fe2efe..0000000 --- a/_sql/Create_Database_Test.sql +++ /dev/null @@ -1,2 +0,0 @@ -.read Create_Database_Empty.sql -.read Insert_Test_Data.sql diff --git a/_sql/Create_Table_Contributors.sql b/_sql/Create_Table_Contributors.sql deleted file mode 100644 index 477e62f..0000000 --- a/_sql/Create_Table_Contributors.sql +++ /dev/null @@ -1,8 +0,0 @@ -CREATE TABLE Contributors ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - handle varchar(255) NOT NULL, - email varchar(255) NOT NULL, - avatar varchar(255) DEFAULT 'hpr_logo.png' NOT NULL, - default_license VARCHAR(25) DEFAULT 'CC BY-SA 4.0' NOT NULL, - profile TEXT -); diff --git a/_sql/Create_Table_Episodes.sql b/_sql/Create_Table_Episodes.sql deleted file mode 100644 index 77345dc..0000000 --- a/_sql/Create_Table_Episodes.sql +++ /dev/null @@ -1,13 +0,0 @@ -CREATE TABLE Episodes ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - correspondent_id INTEGER NOT NULL, - is_explicit BOOLEAN DEFAULT 1 NOT NULL, - submitted DATETIME NOT NULL, - published DATETIME, - license VARCHAR(25) DEFAULT 'CC BY-SA 4.0' NOT NULL, - title VARCHAR(100) NOT NULL, - summary VARCHAR(100) NOT NULL, - series VARCHAR(100), - show_notes TEXT NOT NULL, - CONSTRAINT Episodes_FK FOREIGN KEY (correspondent_id) REFERENCES Episodes(id) -); diff --git a/_sql/Create_Table_Tag_To_Episodes.sql b/_sql/Create_Table_Tag_To_Episodes.sql deleted file mode 100644 index bf8f3f9..0000000 --- a/_sql/Create_Table_Tag_To_Episodes.sql +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE Tag_To_Episodes ( - tag_id INTEGER NOT NULL, - episode_id INTEGER NOT NULL, - CONSTRAINT Tag_To_Episodes_PK PRIMARY KEY (tag_id,episode_id) -); diff --git a/_sql/Create_Table_Tags.sql b/_sql/Create_Table_Tags.sql deleted file mode 100644 index 57ede92..0000000 --- a/_sql/Create_Table_Tags.sql +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE Tags ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - tag varchar(100) -); -CREATE UNIQUE INDEX Tags_tag_IDX ON Tags (tag); diff --git a/_sql/Insert_Test_Data.sql b/_sql/Insert_Test_Data.sql deleted file mode 100644 index 4ddc67b..0000000 --- a/_sql/Insert_Test_Data.sql +++ /dev/null @@ -1,129 +0,0 @@ -INSERT INTO Contributors -(id, handle, email, avatar, default_license, profile) -VALUES(1, 'droops', 'droops.nospam@nospam.gmail.com', '1.png', 'CC-BY-NC-SA', 'nomicon.info'); -INSERT INTO Contributors -(id, handle, email, avatar, default_license, profile) -VALUES(3, 'dosman', 'dosman.nospam@nospam.packetsniffers.org', 'hpr_logo.png', 'CC-BY-SA', 'packetsniffers.org'); -INSERT INTO Contributors -(id, handle, email, avatar, default_license, profile) -VALUES(73, 'deepgeek', 'hpr.nospam@nospam.deepgeek.us', 'hpr_logo.png', 'CC-BY-SA', 'linkpot.net/vogueing/'); - --- Older than 5 weeks -INSERT INTO Episodes -(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) -VALUES(6, 3, 1, '2008-01-08', '2008-01-08', 'CC-BY-NC-SA', 'Part 15 Broadcasting', 'dosman and zach from the packetsniffers talk about Part 15 Broadcasting which is low power', NULL, '

dosman and zach from the packetsniffers talk about Part 15 Broadcasting which is low power broadcasting for the local area. Used to do community radio around an event, a church, concerts etc. They discuss what the regulations are in the US, what you need, how to get started, what things to consider. All in all great introduction to the topic. -

-

links

-'); -INSERT INTO Episodes -(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) -VALUES(35, 1, 1, '2008-02-18', '2008-02-18', 'CC-BY-NC-SA', 'An interview with John Whaley', 'droops interviews John Whaley from Moka5', 'Interviews', '

-droops interviews John Whaley from Moka5. -

-

-John Whaley is responsible for the technical vision of Moka5. He holds a doctorate in computer science from Stanford University, where he made key contributions to the fields of program analysis, compilers, and virtual machines. He is the winner of numerous awards including the Arthur L. Samuel Thesis Award for Best Thesis at Stanford, and has worked at IBM’s T.J. Watson Research Center and Tokyo Research Lab. John was named one of the top 15 programmers in the USA Computing Olympiad. He also holds bachelor’s and master’s degrees in computer science from MIT and speaks fluent Japanese. -

'); - ---More than a week old, less than 5 weeks old -INSERT INTO Episodes -(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) -VALUES(1236,73,1,'2013-04-29',date('now','-28 days'),'CC-BY-SA','Lament For httpd','Moving away from the thttpd web server',NULL,'

-DeepGeek gets all emotional about changing web servers at his web -co-op. "Hell, it''s just a tool." Not for DeepGeek, who equates moving -away from thttpd to the closing of an era! To him, "slick design" can -take a backseat to feelings of camaraderie from your fellows on the -intwebz any day of the week! -

-

-A few well-placed links... -

- -'); - -INSERT INTO Episodes -(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) -VALUES (1459,73,1,'2014-03-06',date('now', '-14 days'),'CC-BY-SA','Locational Privacy with retrotech-the lowly pager','deepgeek advocates the use of a pager for privacy reasons','Privacy and Security','

-In this episode, deepgeek suggests that adding and old, and perhaps laughable -by modern standards, device to your mobile lifestyle. Deepgeek reveals that -said device is the pager, but he eventually gives good reasons for doing so. -

-

-The primary reason is that the paging company does not know where you are, -so they can''t tell "the man" where you are. Other reasons are redundancy -and trouble interpreting audio. But in the end, you find out why first -responders and medical and fire personal still use these devices, and how you, -as a privacy lover, may reap benefits from using this technology also. -

-

-Some links mentioned in case you want to follow them... -

-

-Duck Duck Go search on locational privacy -https://duckduckgo.com?q=locational+privacy -

-

-"privacy is dead" audio -

- - - -

-USA''s two remaining paging companies -

- - - -

don''t forget to check out resellers for deals, like "free pager with one year prepaid

- -

-A good sms via email webpage -

- -' -); - ---Within the last 7 days -INSERT INTO Episodes -(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) -VALUES (2376,73,0,'2017-09-11',date('now', '-3 days'),'CC-BY-SA','Information Underground: 21st Century Superstar','Deepgeek, Lostnbronx, and Klaatu talk about iconless culture','Information Underground','

Deepgeek, Lostnbronx, and Klaatu talk about cultural iconography.

'); -INSERT INTO Episodes -(id, correspondent_id, is_explicit, submitted, published, license, title, summary, series, show_notes) -VALUES (3276,73,0,'2021-02-22',date('now','-1 days'),'CC-BY-SA','Deepgeek''s thoughts about HD Radio','Klaatu reads a post by Deepgeek','Information Underground','

-Deepgeek, Klaatu, and Lostnbronx discuss things. -

- -

-Deepgeek''s thoughts about HD radio. -

- -

Links

- -');