This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Forgotten in
#5039
, change statuses_tags tag_id to bigint (
#5070
)
pull/4/head
Eugen Rochko
6 years ago
committed by
GitHub
parent
adc38078dd
commit
b2820c3913
2 changed files
with
10 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
db/migrate/20170924022025_ids_to_bigints2.rb
+1
-1
db/schema.rb
+ 9
- 0
db/migrate/20170924022025_ids_to_bigints2.rb
View File
@ -0,0 +1,9 @@
class
IdsToBigints2
<
ActiveRecord
::
Migration
[
5
.
1
]
def
up
change_column
:statuses_tags
,
:tag_id
,
:bigint
end
def
down
change_column
:statuses_tags
,
:tag_id
,
:integer
end
end
+ 1
- 1
db/schema.rb
View File
@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version
:
201709
18125918
)
do
ActiveRecord
::
Schema
.
define
(
version
:
201709
24022025
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"
plpgsql
"
Write
Preview
Loading…
Cancel
Save