Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
0 answers
2k views

Automatically generate TypeScript classes from database tables

Made a project to generate TypeScript classes from database tables, and I'm looking for input if the code is reasonable. pg and ...
data's user avatar
  • 141
4 votes
1 answer
155 views

Migrate files from MySQL BLOBs to PostgreSQL largeobjects

As title says, this piece of code migrates files (binary and metadata) from a database to another one with different structure. Currently my problem is that when I have to deal with a big database (...
lese's user avatar
  • 145
2 votes
2 answers
2k views

Database migration script

I'm working on a database migration script written in python, which will take data from a MySQL database and insert them into a PostgreSQL database with a different Schema (different table structures, ...
lese's user avatar
  • 145
2 votes
2 answers
108 views

Query of users for some age, gender, and state, using a subselect

I have this query: ...
user2907171's user avatar
6 votes
1 answer
3k views

Schema for Google Docs-like sharing

I want to allow users to share documents (and other stuff) in a database-driven application. I have designed the following schema to allow for this (PostgreSQL). Some of the tables like ...