Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kthakore
committed
Nov 10, 2010
1 parent
6326a32
commit 89047cb
Showing
6 changed files
with
102 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use strict; | ||
use warnings; | ||
use DBI; | ||
|
||
unlink 'sims.db'; | ||
|
||
`sqlite3 sims.db < ../sims.sql`; | ||
|
||
`script/sims_create.pl model DB DBIC::Schema SIMS::Schema create=static 'dbi:SQLite:dbname=sims.db' '' ''`; | ||
|
||
my $dbh = DBI->connect( "dbi:SQLite:dbname=sims.db", "", "" ); | ||
$dbh->do( ' | ||
INSERT INTO "Student" VALUES ("1","Kartik Thakore","New Student","123 Numbers blvd","--","London","ON","L2T2W1","123456789","123@email.com","MSC"); | ||
' | ||
); | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters