projects
/
brackets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move backend to subdir
[brackets.git]
/
backend
/
migrations
/
005-alter_artist_add_popularity.sql
diff --git a/backend/migrations/005-alter_artist_add_popularity.sql
b/backend/migrations/005-alter_artist_add_popularity.sql
new file mode 100644
(file)
index 0000000..
fdd4e49
--- /dev/null
+++ b/
backend/migrations/005-alter_artist_add_popularity.sql
@@ -0,0
+1,3
@@
+ALTER TABLE ARTIST
+ADD COLUMN POPULARITY INT NOT NULL DEFAULT 0
+CHECK (POPULARITY >= 0 AND POPULARITY <= 100);