1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00
Sylvain 66f81a975e WIP: array of items
Migration from cart_items:{reservation:{}, subscription:{}, ...}
to cart_items:{items:[{reservation:{}, ...}], ...}
2021-05-19 18:12:52 +02:00
..
2016-03-23 18:39:41 +01:00
2021-01-04 16:26:52 +01:00
2016-06-29 11:23:21 +02:00
2016-04-07 17:46:23 +02:00
2016-11-28 11:00:01 +01:00
2016-11-28 11:00:01 +01:00
2021-04-27 12:43:43 +02:00
2021-04-27 12:43:43 +02:00
2021-05-19 18:12:52 +02:00
2021-01-04 16:26:52 +01:00
2019-05-29 10:58:45 +02:00
2021-01-04 16:26:52 +01:00
2021-01-04 16:26:52 +01:00
2017-02-13 14:38:28 +01:00
2021-01-04 16:26:52 +01:00

Test fixtures

Fixtures are test data. Every time a new test is run, the database is filled with these data.

You can create fixtures manually or using the following task, to dump your current table/database to the YAML fixture files:

rails db:to_fixtures[table]

The parameter table is optional. If not specified, the whole database will be dumped.