GitLab Bot
96b0c1245c
Add latest changes from gitlab-org/gitlab@master
2020-01-10 12:07:47 +00:00
GitLab Bot
80f61b4035
Add latest changes from gitlab-org/gitlab@master
2019-09-18 14:02:45 +00:00
GitLab Bot
b7dfe2ae40
Add latest changes from gitlab-org/gitlab@master
2019-09-13 13:26:31 +00:00
Nick Thomas
013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base
2019-03-28 16:18:23 +00:00
Shinya Maeda
314062fec5
Persist source sha and target sha for merge pipelines
...
source_sha and target_sha are used for merge request pipelines
2019-02-27 17:12:04 +09:00
Jacopo
c6bddeacf4
Updates code using class_methods over module ClassMethods
2018-08-29 16:56:34 +02:00
gfyoung
15b878e27e
Enable more frozen string in app/models/**/*.rb
...
Partially addresses #47424 .
2018-08-07 00:37:36 -07:00
Brett Walker
42d27f0b43
only issue a warning if column doesn't exist
2018-05-10 10:00:32 -05:00
Brett Walker
18094a1745
Backport: Keep ShaAttribute from halting startup when we can’t connect to a database
2018-05-08 00:14:00 +00:00
Lin Jen-Shin
f4bd9c0b5e
Skip sha_attribute if we're checking statically
2017-12-26 17:18:10 +08:00
Sean McGivern
38fd773bd3
Fix ShaAttribute concern when there is no table
...
When this is added to a new model, it would fail before the migrations were run
- including when trying to run migrations in production mode!
2017-07-07 12:42:38 +01:00
Yorick Peterse
af1f6844c9
Added code for defining SHA attributes
...
These attributes are stored in binary in the database, but exposed as
strings. This allows one to query/create data using plain SHA1 hashes as
Strings, while storing them more efficiently as binary.
2017-06-29 15:37:37 +02:00