fotostore/sql/deploy/album_images.sql

15 lines
285 B
MySQL
Raw Normal View History

2017-07-31 10:14:59 +03:00
-- Deploy fotostore:album_images to sqlite
-- requires: images
-- requires: albums
BEGIN;
CREATE TABLE album_images (
record_id INTEGER PRIMARY KEY AUTOINCREMENT,
album_id INTEGER REFERENCES albums (album_id),
image_id INTEGER REFERENCES images (file_id)
);
COMMIT;