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
/
20150611124515_create_pages.rb
Code
Commits
Issues
Pulls
Sessions
CI/CD
feature/share-libs
feature/share-libs
main
rb
11 lines
207 Bytes
Copy permalink
Copy
Raw
1
class
CreatePages
<
ActiveRecord
::
Migration
[
5.2
]
2
def
change
3
create_table
:pages
do
|
t
|
4
t
.
string
:page_slug
5
t
.
text
:page_content
6
t
.
string
:locale
7
8
t
.
timestamps
9
end
10
end
11
end