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
/
20210919085330_create_vocal_files.rb
Code
Commits
Issues
Pulls
Sessions
CI/CD
feature/share-libs
feature/share-libs
main
rb
8 lines
204 Bytes
Copy permalink
Copy
Raw
1
class
CreateVocalFiles
<
ActiveRecord
::
Migration
[
6.1
]
2
def
change
3
create_table
:vocal_files
do
|
t
|
4
t
.
references
:audio_file
,
index:
true
,
foreign_key:
true
5
t
.
timestamps
6
end
7
end
8
end