Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| moduletype_id | serial | 10 | √ | nextval('modules_meta_moduletype_id_seq'::regclass) |
|
|
Unique identifier for the module type. Auto-incremented upon insertion. |
||||
| manufacturer | text | 2147483647 | √ | null |
|
|
Manufacturer of the module. |
||||
| manufacturer_pn | text | 2147483647 | √ | null |
|
|
Part number of the module from the manufacturer. |
||||
| capacity_mah | int4 | 10 | √ | null |
|
|
Rated capacity of the module in mAh. |
||||
| cells_in_series | int4 | 10 | √ | null |
|
|
Number of cells in series. |
||||
| cells_in_parallel | int4 | 10 | √ | null |
|
|
Number of cells in parallel. |
||||
| batterytype_id | int4 | 10 | √ | null |
|
|
Cells that make up the module. Refers to the cell type defined in cells_meta table. |
||||
| dimensions | jsonb | 2147483647 | √ | null |
|
|
Physical dimensions of the module. Stored in hstore data type that allows for dictionary like behavior. Example for a cylindrical cell: “height”=>“65.00 ± 0.2 mm”, “diameter”=>“18.3 +0.2 / -0.3 mm” |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| modules_meta_pkey | Primary key | Asc | moduletype_id |

