Add basic SQL Storage
- also dumps to fs like the basic FS module
- add some infos to the index
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
package CrashTest::Storage::Sql::Schema::Result::Module;
use CrashTest::Storage::Sql::Schema::Candy;
primary_column id => {
data_type => 'int',
is_auto_increment => 1,
};
column debug_id => {
data_type => 'varchar',
size => 33,
};
column filename => {
data_type => 'varchar',
size => 128,
};
column version => {
data_type => 'varchar',
size => 64,
is_nullable => 1,
};
unique_constraint module_id => ['debug_id', 'filename'];
1;