Standardize examples/docs on Schema::Loader schema naming
[dbsrgits/DBIx-Class.git] / examples / Schema / insertdb.pl
old mode 100644 (file)
new mode 100755 (executable)
index a701795..15bf71b
@@ -3,9 +3,9 @@
 use strict;
 use warnings;
 
-use MyDatabase::Main;
+use MyApp::Schema;
 
-my $schema = MyDatabase::Main->connect('dbi:SQLite:db/example.db');
+my $schema = MyApp::Schema->connect('dbi:SQLite:db/example.db');
 
 #  here's some of the sql that is going to be generated by the schema
 #  INSERT INTO artist VALUES (NULL,'Michael Jackson');