close
Warning:
AdminModule failed with TracError: Unable to instantiate component <class 'trac.admin.web_ui.BasicsAdminPanel'> (super(type, obj): obj must be an instance or subtype of type)
- Timestamp:
-
Jan 5, 2011, 2:15:13 AM (16 years ago)
- Author:
-
Martin Kolman
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v9
|
v10
|
|
| 38 | 38 | }}} |
| 39 | 39 | |
| 40 | | The storage database looks like this:[[br]] |
| 41 | | {{{table tiles (z integer, x integer, y integer, store_filename string, extension varchar(10), unix_epoch_timestamp integer, primary key (z, x, y, extension))}}}[[br]] |
| | 40 | The storage database looks like this:[[br]][[br]] |
| | 41 | {{{table tiles (z integer, x integer, y integer, store_filename string, extension varchar(10), unix_epoch_timestamp integer, primary key (z, x, y, extension))}}}[[br]][[br]][[br]] |
| 42 | 42 | The store databases look like this:[[br]] |
| 43 | | {{{table tiles (z integer, x integer, y integer, tile blob, extension varchar(10), unix_epoch_timestamp integer, primary key (z, x, y, extension))}}}[[br]] |
| 44 | | The only difference in the structure is that the lookup databases only stores the name of the store for given coordinates and the store database stores the actual blob.[[br]] |
| | 43 | {{{table tiles (z integer, x integer, y integer, tile blob, extension varchar(10), unix_epoch_timestamp integer, primary key (z, x, y, extension))}}}[[br]][[br]] |
| | 44 | The only difference in the structure is that the lookup databases only stores the name of the store for given coordinates and the store database stores the actual blob. |
| 45 | 45 | Both also have a table called called version which has an integer column called v. There is a single 1 inserted, which indicates the current version of the table. |
| 46 | 46 | |