Skip to content

Commit

Permalink
derp
Browse files Browse the repository at this point in the history
  • Loading branch information
catdevnull committed Dec 2, 2024
1 parent a3a7e01 commit 9b5e98c
Show file tree
Hide file tree
Showing 5 changed files with 690 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sitio/drizzle/0013_flimsy_wonder_man.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `db_tweets` ADD `json_timestamp` integer;--> statement-breakpoint
ALTER TABLE `db_tweets` ADD `json_is_retweet` integer;
2 changes: 2 additions & 0 deletions sitio/drizzle/0014_big_zzzax.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `db_tweets` DROP COLUMN `json_timestamp`;--> statement-breakpoint
ALTER TABLE `db_tweets` DROP COLUMN `json_is_retweet`;
343 changes: 343 additions & 0 deletions sitio/drizzle/meta/0013_snapshot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,343 @@
{
"version": "6",
"dialect": "sqlite",
"id": "128c2ac9-075c-4ea7-a479-4fb3e82c78cb",
"prevId": "02981f1d-8716-4fb2-af23-b12c393006f0",
"tables": {
"db_cuentas": {
"name": "db_cuentas",
"columns": {
"id": {
"name": "id",
"type": "text",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"account_data_json": {
"name": "account_data_json",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"db_historic_liked_tweets": {
"name": "db_historic_liked_tweets",
"columns": {
"post_id": {
"name": "post_id",
"type": "text",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"url": {
"name": "url",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"posted_at": {
"name": "posted_at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"estimated_liked_at": {
"name": "estimated_liked_at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"db_liked_tweets": {
"name": "db_liked_tweets",
"columns": {
"url": {
"name": "url",
"type": "text",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"first_seen_at": {
"name": "first_seen_at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"last_seen_at": {
"name": "last_seen_at",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"text": {
"name": "text",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"scrap_id": {
"name": "scrap_id",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {
"first_seen_at_idx": {
"name": "first_seen_at_idx",
"columns": [
"first_seen_at"
],
"isUnique": false
},
"liked_tweets_last_seen_at_idx": {
"name": "liked_tweets_last_seen_at_idx",
"columns": [
"last_seen_at"
],
"isUnique": false
},
"liked_tweets_scrap_id_idx": {
"name": "liked_tweets_scrap_id_idx",
"columns": [
"scrap_id"
],
"isUnique": false
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"db_retweets": {
"name": "db_retweets",
"columns": {
"poster_id": {
"name": "poster_id",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"poster_handle": {
"name": "poster_handle",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"post_id": {
"name": "post_id",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"first_seen_at": {
"name": "first_seen_at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"retweet_at": {
"name": "retweet_at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"posted_at": {
"name": "posted_at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"text": {
"name": "text",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"scrap_id": {
"name": "scrap_id",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {
"retweet_at_idx": {
"name": "retweet_at_idx",
"columns": [
"retweet_at"
],
"isUnique": false
}
},
"foreignKeys": {},
"compositePrimaryKeys": {
"db_retweets_poster_id_post_id_pk": {
"columns": [
"poster_id",
"post_id"
],
"name": "db_retweets_poster_id_post_id_pk"
}
},
"uniqueConstraints": {}
},
"db_scraper_tokens": {
"name": "db_scraper_tokens",
"columns": {
"id": {
"name": "id",
"type": "integer",
"primaryKey": true,
"notNull": true,
"autoincrement": true
},
"token": {
"name": "token",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"db_scraps": {
"name": "db_scraps",
"columns": {
"id": {
"name": "id",
"type": "integer",
"primaryKey": true,
"notNull": true,
"autoincrement": true
},
"uid": {
"name": "uid",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"at": {
"name": "at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"cuenta_id": {
"name": "cuenta_id",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"total_tweets_seen": {
"name": "total_tweets_seen",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {
"db_scraps_finished_at_idx": {
"name": "db_scraps_finished_at_idx",
"columns": [
"at"
],
"isUnique": false
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"db_tweets": {
"name": "db_tweets",
"columns": {
"id": {
"name": "id",
"type": "text",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"twitter_scraper_json": {
"name": "twitter_scraper_json",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"captured_at": {
"name": "captured_at",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"json_timestamp": {
"name": "json_timestamp",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"json_is_retweet": {
"name": "json_is_retweet",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
},
"internal": {
"indexes": {}
}
}
Loading

0 comments on commit 9b5e98c

Please sign in to comment.