pallet_stateful_storage/migration/v1/mod.rs
1// Old V1 storage types
2pub mod types;
3
4use crate::{Config, Pallet};
5use frame_support::{pallet_prelude::ValueQuery, storage_alias};
6pub use types::*;
7
8/// Flag to indicate that Paginated migration is complete
9#[storage_alias]
10pub(crate) type DonePaginated<T: Config> = StorageValue<Pallet<T>, bool, ValueQuery>;
11
12/// Flag to indicate that Itemized migration is complete
13#[storage_alias]
14pub(crate) type DoneItemized<T: Config> = StorageValue<Pallet<T>, bool, ValueQuery>;