Code & Deploy
Code
Code Review
Models
Repos
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@setoelkahfi
/
tower-of-bazel
tower-of-bazel
/
backend
/
musik88-web
/
db
/
migrate
/
20180523154659_create_artists.rb
Code
Commits
Issues
Pulls
Sessions
CI/CD
feature/share-libs
feature/share-libs
main
rb
10 lines
182 Bytes
Copy permalink
Copy
Raw
1
class
CreateArtists
<
ActiveRecord
::
Migration
[
5.2
]
2
def
change
3
create_table
:artists
do
|
t
|
4
t
.
string
:name
5
t
.
text
:description
6
7
t
.
timestamps
8
end
9
end
10
end