Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openpotato/sakila-db
SQL ports of the MySQL Sakila sample database
https://github.com/openpotato/sakila-db
firebird-sql mysql postgresql sakila sakila-db
Last synced: 6 days ago
JSON representation
SQL ports of the MySQL Sakila sample database
- Host: GitHub
- URL: https://github.com/openpotato/sakila-db
- Owner: openpotato
- License: bsd-2-clause
- Created: 2023-07-26T13:16:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-30T22:49:52.000Z (11 months ago)
- Last Synced: 2023-12-30T23:28:38.158Z (11 months ago)
- Topics: firebird-sql, mysql, postgresql, sakila, sakila-db
- Language: PLpgSQL
- Homepage:
- Size: 1.16 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![GitHub](https://img.shields.io/github/license/openpotato/sakila-db)
# Sakila Database
The [Sakila sample database](https://dev.mysql.com/doc/sakila/en/sakila-introduction.html) was initially developed by Mike Hillyer, a former member of the MySQL AB documentation team. It is intended to provide a standard schema that can be used for examples in books, tutorials, articles, samples, and so forth. The Sakila sample database also serves to highlight features of MySQL such as Views, Stored Procedures, and Triggers.
This repository stores the original MySQL database and ports to the following SQL databases:
+ [Firebird 4+](https://firebirdsql.org/)
+ [PostgreSQL 14+](https://www.postgresql.org/)## Installation
For each database variant you will find a subfolder with the following 2 SQL files:
+ The `sakila-schema.sql` file contains all the CREATE statements required to create the structure of the Sakila database including tables, views, stored procedures, and triggers.
+ The `sakila-data.sql` file contains the INSERT statements required to populate the structure created by the `sakila-schema.sql` file, along with definitions for triggers that must be created after the initial data load.
## Database structure
An overview of the structure of the Sakila sample database can be found in the [MySQL documentation](https://dev.mysql.com/doc/sakila/en/sakila-structure.html).
## Can I help?
Yes, that would be much appreciated. The best way to help is to post a response via the Issue Tracker and/or submit a Pull Request.