Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gab-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
gab
social
gab-social
Commits
c8ce87e4
Commit
c8ce87e4
authored
Aug 07, 2019
by
Rob Colbert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migration
parent
05037f60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
app/models/status.rb
app/models/status.rb
+1
-1
db/schema.rb
db/schema.rb
+5
-5
No files found.
app/models/status.rb
View file @
c8ce87e4
...
...
@@ -23,7 +23,7 @@
# in_reply_to_account_id :bigint(8)
# poll_id :bigint(8)
# group_id :integer
# quote_
id
:bigint(8)
# quote_
of_id
:bigint(8)
#
class
Status
<
ApplicationRecord
...
...
db/schema.rb
View file @
c8ce87e4
...
...
@@ -93,7 +93,7 @@ ActiveRecord::Schema.define(version: 2019_08_04_115634) do
t
.
bigint
"account_id"
t
.
string
"image_file_name"
t
.
string
"image_content_type"
t
.
integer
"image_file_size"
t
.
bigint
"image_file_size"
t
.
datetime
"image_updated_at"
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
...
...
@@ -157,10 +157,10 @@ ActiveRecord::Schema.define(version: 2019_08_04_115634) do
t
.
string
"actor_type"
t
.
boolean
"discoverable"
t
.
string
"also_known_as"
,
array:
true
t
.
boolean
"is_pro"
,
default:
false
,
null:
false
t
.
datetime
"pro_expires_at"
t
.
datetime
"silenced_at"
t
.
datetime
"suspended_at"
t
.
boolean
"is_pro"
,
default:
false
,
null:
false
t
.
datetime
"pro_expires_at"
t
.
boolean
"is_verified"
,
default:
false
,
null:
false
t
.
boolean
"is_donor"
,
default:
false
,
null:
false
t
.
boolean
"is_investor"
,
default:
false
,
null:
false
...
...
@@ -658,8 +658,8 @@ ActiveRecord::Schema.define(version: 2019_08_04_115634) do
create_table
"status_pins"
,
force: :cascade
do
|
t
|
t
.
bigint
"account_id"
,
null:
false
t
.
bigint
"status_id"
,
null:
false
t
.
datetime
"created_at"
,
default:
->
{
"
CURRENT_TIMESTAMP
"
},
null:
false
t
.
datetime
"updated_at"
,
default:
->
{
"
CURRENT_TIMESTAMP
"
},
null:
false
t
.
datetime
"created_at"
,
default:
->
{
"
now()
"
},
null:
false
t
.
datetime
"updated_at"
,
default:
->
{
"
now()
"
},
null:
false
t
.
index
[
"account_id"
,
"status_id"
],
name:
"index_status_pins_on_account_id_and_status_id"
,
unique:
true
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment