|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.2].define(version: 2026_05_29_124351) do |
| 13 | +ActiveRecord::Schema[7.2].define(version: 2026_07_01_125103) do |
14 | 14 | create_table "aliquot", charset: "utf8mb3", collation: "utf8mb3_unicode_ci", force: :cascade do |t| |
15 | 15 | t.string "id_lims", null: false, comment: "The LIMS system that the aliquot was created in" |
16 | 16 | t.string "aliquot_uuid", null: false, comment: "The UUID of the aliquot in the LIMS system" |
17 | 17 | t.string "aliquot_type", null: false, comment: "The type of the aliquot" |
18 | 18 | t.string "source_type", null: false, comment: "The type of the source of the aliquot" |
19 | 19 | t.string "source_barcode", null: false, comment: "The barcode of the source of the aliquot" |
20 | | - t.string "sample_name", null: false, comment: "The name of the sample that the aliquot was created from" |
| 20 | + t.string "sample_name", limit: 512, null: false, comment: "The name of the sample, or colon separated list of sample names, that the aliquot was created from" |
21 | 21 | t.string "used_by_type", null: false, comment: "The type of the entity that the aliquot is used by" |
22 | 22 | t.string "used_by_barcode", null: false, comment: "The barcode of the entity that the aliquot is used by" |
23 | 23 | t.decimal "volume", precision: 10, scale: 2, null: false, comment: "The volume of the aliquot (uL)" |
|
181 | 181 | t.index ["location_barcode"], name: "index_labware_location_on_location_barcode" |
182 | 182 | end |
183 | 183 |
|
184 | | - create_table "lighthouse_sample", id: :integer, charset: "utf8mb3", collation: "utf8mb3_unicode_ci", force: :cascade do |t| |
| 184 | + create_table "lighthouse_sample", id: :integer, charset: "utf8mb3", collation: "utf8mb3_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
185 | 185 | t.string "mongodb_id", comment: "Auto-generated id from MongoDB" |
186 | 186 | t.string "root_sample_id", null: false, comment: "Id for this sample provided by the Lighthouse lab" |
187 | 187 | t.string "cog_uk_id", null: false, comment: "Consortium-wide id, generated by Sanger on import to LIMS" |
|
248 | 248 | t.index ["sample_id"], name: "index_long_read_qc_result_on_sample_id" |
249 | 249 | end |
250 | 250 |
|
251 | | - create_table "oseq_flowcell", primary_key: "id_oseq_flowcell_tmp", id: { type: :integer, unsigned: true }, charset: "utf8mb3", collation: "utf8mb3_unicode_ci", force: :cascade do |t| |
| 251 | + create_table "oseq_flowcell", primary_key: "id_oseq_flowcell_tmp", id: { type: :integer, unsigned: true }, charset: "utf8mb3", collation: "utf8mb3_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
252 | 252 | t.string "id_flowcell_lims", null: false, comment: "LIMs-specific flowcell id" |
253 | 253 | t.datetime "last_updated", precision: nil, null: false, comment: "Timestamp of last update" |
254 | 254 | t.datetime "recorded_at", precision: nil, null: false, comment: "Timestamp of warehouse update" |
|
0 commit comments