Commit Graph

16 Commits

Author SHA1 Message Date
compeak 506e357f00
update migration version from 5.2 to 7.0 2022-09-01 16:54:42 +02:00
Gannon McGibbon 79a5e0b759 Add ActiveStorage::Blob.compose 2021-11-25 19:37:57 -05:00
Sandip Mane 458d2d3a53 Makes the array syntax consistant with other use cases 2021-08-18 23:44:58 +05:30
fatkodima 753633abdf Respect Active Record's primary_key_type in Active Storage migrations 2021-06-11 11:51:07 +03:00
George Claghorn 2cb84b1847 Add precision to Active Storage timestamps where supported 2021-05-23 14:47:15 -04:00
George Claghorn 7d0327bbbf Track Active Storage variants in the database 2019-12-06 13:26:51 -05:00
DmitryTsepelev e7f798c3f5 Allow configure services for individual attachments 2019-10-01 21:24:05 +03:00
George Claghorn 2ae3a29508 Add a foreign-key constraint to the attachments table for blobs 2018-07-19 20:43:33 -04:00
George Claghorn 9de6c6c91c Widen blob size column 2017-08-24 09:37:04 -04:00
bogdanvlviv 92431ea5fb
Use 5.2 version of ActiveRecord::Migration for Active Storage 2017-08-22 17:32:43 +03:00
bogdanvlviv 43f452f23b
Remove frozen_string_literal comment from activestorage's migration
The activestorage's migration is used as template for apps
Related to #30348
2017-08-22 08:32:27 +03:00
Matthew Draper 4ec5b7610d Merge pull request #30211 from koic/frozen_activestorage
Use frozen string literal in Active Storage
2017-08-13 21:39:38 +09:30
Ryuta Kamizono 4966b36d4c Use `references` to respect primary key type in active storage tables
If created active storage tables by mysql2 or postgresql adapters, a
primary key is defined as a bigint. It should be used `references` to
the reference columns to respect primary key type.
2017-08-13 13:40:39 +09:00
Koichi ITO d02844f249 Use frozen string literal in Active Storage 2017-08-12 21:43:42 +09:00
Ryuta Kamizono d76b2f9e55 Add `null: false` to Active Storage tables
These columns aren't intended nullable.
2017-08-12 02:33:38 +09:00
Dino Maric 4b72bee47b ActiveStorage:Add migrations per rails engine conventions (#30111)
* Add migrations per rails engine conventions

* Fix failing tests
2017-08-08 09:47:38 -05:00