3 See the NOTICE file distributed with
this work
for additional information
4 regarding copyright ownership.
6 Licensed under the Apache License, Version 2.0 (the
"License");
7 you may not use
this file except in compliance with the License.
8 You may obtain a copy of the License at
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an
"AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License
for the specific language governing permissions and
16 limitations under the License.
20 A DBIC schema base
class used by
Xref::
DB
30 use base 'DBIx::Class::Schema';
32 __PACKAGE__->load_namespaces;
34 =head2 sqlt_deploy_hook
36 Set all tables engine to MyISAM
40 sub sqlt_deploy_hook {
41 my ($self, $sqlt_schema) = @_;
43 for my $table ($sqlt_schema->get_tables) {
44 $table->extra(mysql_table_type =>
'MyISAM');