You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.
The type for this is a string - this is dangerous when using this for a store. text should be used instead, which doesn't have the size limits that string has
When specifying a rails type "string" this corresponds to a column in MySQL that has a limit of 255 characters and its the same (or similar) in Postgres. In Rails schemas "text" is the proper type to use for strings that are likely to exceed this limit, even if sqlite3 would let us get away with packing more into the column.
To clarify, in MySQL :string is mapped to VARCHAR which has the 255 char limit but :text is mapped to TINYTEXT, TEXT, MEDIUMTEXT, or LONGTEXT2 whose limit is much larger (max string length)
The type for this is a
string
- this is dangerous when using this for a store.text
should be used instead, which doesn't have the size limits thatstring
hashttps://github.com/AweSim-OSC/osc-jobconstructor/blob/68aadf2022b5f6b6243513d650a6fe46f406c338/db/schema.rb#L29
The text was updated successfully, but these errors were encountered: