Skip to content

Commit

Permalink
Add the playlists migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
ironsmile committed Oct 12, 2024
1 parent 82c1c46 commit bea7a86
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sqls/migrations/010_playlists.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- migrate Up

CREATE TABLE IF NOT EXISTS `playlists` (
`id` integer not null primary key,
`name` text not null,
`description` text null,
`public` integer default 1,
`created_at` integer not null,
`updated_at` integer not null
);

-- migrate Down
drop table if exists `playlists`;

0 comments on commit bea7a86

Please sign in to comment.