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
/
20201023184815_create_meta_pages.rb
Code
Commits
Issues
Pulls
Sessions
CI/CD
feature/share-libs
feature/share-libs
main
rb
15 lines
323 Bytes
Copy permalink
Copy
Raw
1
class
CreateMetaPages
<
ActiveRecord
::
Migration
[
6.0
]
2
def
change
3
create_table
:meta_pages
do
|
t
|
4
t
.
string
:home
5
t
.
string
:title_en
6
t
.
string
:title_id
7
t
.
string
:title_sv
8
t
.
text
:description_en
9
t
.
text
:description_id
10
t
.
text
:description_sv
11
12
t
.
timestamps
13
end
14
end
15
end