Skip to content

Commit a15c35e

Browse files
committed
Remove custom zones
1 parent 1a40345 commit a15c35e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

config/media_store.sql

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ DROP TABLE IF EXISTS Playlist;
3131
DROP TABLE IF EXISTS PlaylistTrack;
3232
DROP TABLE IF EXISTS Track;
3333

34-
DROP ZONE IF EXISTS Chinook;
35-
DROP ZONE IF EXISTS ChinookReplicated;
36-
37-
CREATE ZONE Chinook WITH replicas=2, storage_profiles='default';
38-
CREATE ZONE ChinookReplicated WITH replicas=3, partitions=25, storage_profiles='default';
34+
ALTER ZONE "Default" SET replicas = 2;
3935

4036
CREATE TABLE Artist
4137
(
@@ -50,7 +46,7 @@ CREATE TABLE Album
5046
Title VARCHAR(160),
5147
ArtistId INT,
5248
PRIMARY KEY (AlbumId, ArtistId)
53-
) COLOCATE BY (ArtistId) ZONE chinook;
49+
) COLOCATE BY (ArtistId);
5450

5551
CREATE TABLE Customer
5652
(

0 commit comments

Comments
 (0)