Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 3 commits
  • 9 files changed
  • 0 commit comments
  • 1 contributor
View
11 Shrtr/lib/Shrtr.pm
@@ -10,6 +10,10 @@ get '/' => sub {
template 'index';
};
+get '/register' => sub {
+ template 'register';
+};
+
get qr{ /(\w+)\+ }x => sub {
my ($code) = splat;
@@ -25,7 +29,12 @@ get qr{ /(\w+) }x => sub {
my ($code) = splat;
if (my $url = $url_rs->find({code => $code})) {
- $url->add_to_clicks({});
+ my $req = request;
+ $url->add_to_clicks({
+ user_agent => $req->user_agent,
+ referrer => $req->referer,
+ ip_address => $req->remote_address,
+ });
template 'frame', {
url => $url,
}, {
View
60 Shrtr/lib/Shrtr/Schema/Result/Click.pm
@@ -23,13 +23,17 @@ __PACKAGE__->table("click");
=head1 ACCESSORS
-=head2 code
+=head2 id
- data_type: 'char'
- default_value: (empty string)
+ data_type: 'integer'
+ is_auto_increment: 1
+ is_nullable: 0
+
+=head2 url
+
+ data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
- size: 10
=head2 ts
@@ -38,30 +42,50 @@ __PACKAGE__->table("click");
default_value: current_timestamp
is_nullable: 0
+=head2 referrer
+
+ data_type: 'varchar'
+ is_nullable: 1
+ size: 200
+
+=head2 user_agent
+
+ data_type: 'varchar'
+ is_nullable: 1
+ size: 200
+
+=head2 ip_address
+
+ data_type: 'varchar'
+ is_nullable: 1
+ size: 15
+
=cut
__PACKAGE__->add_columns(
- "code",
- {
- data_type => "char",
- default_value => "",
- is_foreign_key => 1,
- is_nullable => 0,
- size => 10,
- },
+ "id",
+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
+ "url",
+ { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"ts",
{
data_type => "timestamp",
datetime_undef_if_invalid => 1,
default_value => \"current_timestamp",
is_nullable => 0,
},
+ "referrer",
+ { data_type => "varchar", is_nullable => 1, size => 200 },
+ "user_agent",
+ { data_type => "varchar", is_nullable => 1, size => 200 },
+ "ip_address",
+ { data_type => "varchar", is_nullable => 1, size => 15 },
);
-__PACKAGE__->set_primary_key("code", "ts");
+__PACKAGE__->set_primary_key("id");
=head1 RELATIONS
-=head2 code
+=head2 url
Type: belongs_to
@@ -70,15 +94,15 @@ Related object: L<Shrtr::Schema::Result::Url>
=cut
__PACKAGE__->belongs_to(
- "code",
+ "url",
"Shrtr::Schema::Result::Url",
- { code => "code" },
+ { id => "url" },
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
);
-# Created by DBIx::Class::Schema::Loader v0.07010 @ 2012-04-07 18:07:23
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wiVhL4PQO+reBzw8mhZ2xA
+# Created by DBIx::Class::Schema::Loader v0.07010 @ 2012-04-08 16:55:07
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QKX3HxrPBWEZWIqX7fmKqQ
# You can replace this text with custom code or comments, and it will be preserved on regeneration
View
57 Shrtr/lib/Shrtr/Schema/Result/Url.pm
@@ -23,33 +23,49 @@ __PACKAGE__->table("url");
=head1 ACCESSORS
-=head2 code
+=head2 id
- data_type: 'char'
+ data_type: 'integer'
+ is_auto_increment: 1
is_nullable: 0
- size: 10
+
+=head2 code
+
+ data_type: 'varchar'
+ is_nullable: 1
+ size: 200
=head2 url
data_type: 'text'
is_nullable: 1
-=head2 clicks
+=head2 ts
- data_type: 'integer'
- is_nullable: 1
+ data_type: 'timestamp'
+ datetime_undef_if_invalid: 1
+ default_value: current_timestamp
+ is_nullable: 0
=cut
__PACKAGE__->add_columns(
+ "id",
+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
"code",
- { data_type => "char", is_nullable => 0, size => 10 },
+ { data_type => "varchar", is_nullable => 1, size => 200 },
"url",
{ data_type => "text", is_nullable => 1 },
- "clicks",
- { data_type => "integer", is_nullable => 1 },
+ "ts",
+ {
+ data_type => "timestamp",
+ datetime_undef_if_invalid => 1,
+ default_value => \"current_timestamp",
+ is_nullable => 0,
+ },
);
-__PACKAGE__->set_primary_key("code");
+__PACKAGE__->set_primary_key("id");
+__PACKAGE__->add_unique_constraint("code", ["code"]);
=head1 RELATIONS
@@ -64,13 +80,28 @@ Related object: L<Shrtr::Schema::Result::Click>
__PACKAGE__->has_many(
"clicks",
"Shrtr::Schema::Result::Click",
- { "foreign.code" => "self.code" },
+ { "foreign.url" => "self.id" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
+=head2 user_urls
+
+Type: has_many
+
+Related object: L<Shrtr::Schema::Result::UserUrl>
+
+=cut
+
+__PACKAGE__->has_many(
+ "user_urls",
+ "Shrtr::Schema::Result::UserUrl",
+ { "foreign.url" => "self.id" },
{ cascade_copy => 0, cascade_delete => 0 },
);
-# Created by DBIx::Class::Schema::Loader v0.07010 @ 2012-04-07 18:07:23
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l7R0kmpTDN1yZj4gR4dfWA
+# Created by DBIx::Class::Schema::Loader v0.07010 @ 2012-04-08 16:55:07
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FoXnNJ92XRZorgk006qkXQ
# You can replace this text with custom code or comments, and it will be preserved on regeneration
View
87 Shrtr/lib/Shrtr/Schema/Result/User.pm
@@ -0,0 +1,87 @@
+package Shrtr::Schema::Result::User;
+
+# Created by DBIx::Class::Schema::Loader
+# DO NOT MODIFY THE FIRST PART OF THIS FILE
+
+use strict;
+use warnings;
+
+use Moose;
+use MooseX::NonMoose;
+use namespace::autoclean;
+extends 'DBIx::Class::Core';
+
+__PACKAGE__->load_components("InflateColumn::DateTime");
+
+=head1 NAME
+
+Shrtr::Schema::Result::User
+
+=cut
+
+__PACKAGE__->table("user");
+
+=head1 ACCESSORS
+
+=head2 id
+
+ data_type: 'integer'
+ is_nullable: 0
+
+=head2 username
+
+ data_type: 'varchar'
+ is_nullable: 0
+ size: 20
+
+=head2 email
+
+ data_type: 'varchar'
+ is_nullable: 0
+ size: 100
+
+=head2 password
+
+ data_type: 'varchar'
+ is_nullable: 0
+ size: 32
+
+=cut
+
+__PACKAGE__->add_columns(
+ "id",
+ { data_type => "integer", is_nullable => 0 },
+ "username",
+ { data_type => "varchar", is_nullable => 0, size => 20 },
+ "email",
+ { data_type => "varchar", is_nullable => 0, size => 100 },
+ "password",
+ { data_type => "varchar", is_nullable => 0, size => 32 },
+);
+__PACKAGE__->set_primary_key("id");
+
+=head1 RELATIONS
+
+=head2 user_urls
+
+Type: has_many
+
+Related object: L<Shrtr::Schema::Result::UserUrl>
+
+=cut
+
+__PACKAGE__->has_many(
+ "user_urls",
+ "Shrtr::Schema::Result::UserUrl",
+ { "foreign.user" => "self.id" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
+
+# Created by DBIx::Class::Schema::Loader v0.07010 @ 2012-04-08 16:55:07
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7SBEwAu9bk3x1S2vRK63Zg
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+__PACKAGE__->meta->make_immutable;
+1;
View
118 Shrtr/lib/Shrtr/Schema/Result/UserUrl.pm
@@ -0,0 +1,118 @@
+package Shrtr::Schema::Result::UserUrl;
+
+# Created by DBIx::Class::Schema::Loader
+# DO NOT MODIFY THE FIRST PART OF THIS FILE
+
+use strict;
+use warnings;
+
+use Moose;
+use MooseX::NonMoose;
+use namespace::autoclean;
+extends 'DBIx::Class::Core';
+
+__PACKAGE__->load_components("InflateColumn::DateTime");
+
+=head1 NAME
+
+Shrtr::Schema::Result::UserUrl
+
+=cut
+
+__PACKAGE__->table("user_url");
+
+=head1 ACCESSORS
+
+=head2 user
+
+ data_type: 'integer'
+ is_foreign_key: 1
+ is_nullable: 1
+
+=head2 url
+
+ data_type: 'integer'
+ is_foreign_key: 1
+ is_nullable: 1
+
+=head2 ts
+
+ data_type: 'timestamp'
+ datetime_undef_if_invalid: 1
+ default_value: current_timestamp
+ is_nullable: 0
+
+=head2 ip
+
+ data_type: 'varchar'
+ is_nullable: 1
+ size: 15
+
+=cut
+
+__PACKAGE__->add_columns(
+ "user",
+ { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
+ "url",
+ { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
+ "ts",
+ {
+ data_type => "timestamp",
+ datetime_undef_if_invalid => 1,
+ default_value => \"current_timestamp",
+ is_nullable => 0,
+ },
+ "ip",
+ { data_type => "varchar", is_nullable => 1, size => 15 },
+);
+
+=head1 RELATIONS
+
+=head2 url
+
+Type: belongs_to
+
+Related object: L<Shrtr::Schema::Result::Url>
+
+=cut
+
+__PACKAGE__->belongs_to(
+ "url",
+ "Shrtr::Schema::Result::Url",
+ { id => "url" },
+ {
+ is_deferrable => 1,
+ join_type => "LEFT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
+ },
+);
+
+=head2 user
+
+Type: belongs_to
+
+Related object: L<Shrtr::Schema::Result::User>
+
+=cut
+
+__PACKAGE__->belongs_to(
+ "user",
+ "Shrtr::Schema::Result::User",
+ { id => "user" },
+ {
+ is_deferrable => 1,
+ join_type => "LEFT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
+ },
+);
+
+
+# Created by DBIx::Class::Schema::Loader v0.07010 @ 2012-04-08 16:55:07
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bhN4sclzkGQlV0M4aJ4hjw
+
+
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
+__PACKAGE__->meta->make_immutable;
+1;
View
164 Shrtr/views/index.tt
@@ -1,145 +1,63 @@
-
-<!--
- Credit goes to the Ruby on Rails team for this page
- has been heavily based on the default Rails page that is
- built with a scaffolded application.
-
- Thanks a lot to them for their work.
-
- See Ruby on Rails if you want a kickass framework in Ruby:
- http://www.rubyonrails.org/
--->
-
<div id="page">
- <div id="sidebar">
- <ul id="sidebar-items">
- <li>
- <h3>Join the community</h3>
- <ul class="links">
-
- <li><a href="http://perldancer.org/">PerlDancer</a></li>
- <li><a href="http://twitter.com/PerlDancer/">Official Twitter</a></li>
- <li><a href="http://github.com/sukria/Dancer/">GitHub Community</a></li>
- </ul>
- </li>
+ <div id="sidebar">
+ <ul id="sidebar-items">
+ <li>
+ <h3>Shortcuts</h3>
+ <ul class="links">
+ <li><a href="/register">Register as a user</a></li>
+ <li><a href="/login">Login</a></li>
+ <li><a href="/submit">Submit a URL</a></li>
+ </ul>
+ </li>
- <li>
- <h3>Browse the documentation</h3>
-
- <ul class="links">
- <li><a
- href="http://search.cpan.org/dist/Dancer/lib/Dancer/Introduction.pod">Introduction</a></li>
- <li><a href="http://search.cpan.org/dist/Dancer/lib/Dancer/Cookbook.pod">Cookbook</a></li>
- <li><a href="http://search.cpan.org/dist/Dancer/lib/Dancer/Deployment.pod">Deployment Guide</a></li>
- <li><a
- href="http://search.cpan.org/dist/Dancer/lib/Dancer/Tutorial.pod"
- title="a tutorial to build a small blog engine with Dancer">Tutorial</a></li>
- </ul>
- </li>
-
- <li>
- <h3>Your application's environment</h3>
-
- <ul>
- <li>Location: <code>/home/dave/git/shrtr/Shrtr</code></li>
- <li>Template engine: <code><% settings.template %></code></li>
- <li>Logger: <code><% settings.logger %></code></li>
- <li>Environment: <code><% settings.environment %></code></li>
- </ul>
-
- </li>
+ <h3>More Details</h3>
+ <ul class="links">
+ <li><a href="/about">About Shrtr</a></li>
+ <li><a href="/about/team">About the Team</a></li>
</ul>
+ </li>
+
+ <li>
+ <h3>Blogroll</h3>
- </div>
-
- <div id="content">
- <div id="header">
- <h1>Perl is dancing</h1>
- <h2>You&rsquo;ve joined the dance floor!</h2>
- </div>
+ <ul class="links">
+ <li><a href="">A blog</a></li>
+ <li><a href="">Another blog</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+
+ <div id="content">
+ <div id="header">
+ <h1>Shrtr</h1>
+ <h2>URL shortening without the Googlejuice</h2>
+ </div>
<div id="getting-started">
<h1>Getting started</h1>
- <h2>Here&rsquo;s how to get dancing:</h2>
+ <h2>Here&rsquo;s how to get started:</h2>
- <h3><a href="#" id="about_env_link">About your application's environment</a></h3>
-
- <div id="about-content" style="display: none;">
- <table>
- <tbody>
- <tr>
- <td>Perl version</td>
- <td><tt><% perl_version %></tt></td>
- </tr>
- <tr>
- <td>Dancer version</td>
- <td><tt><% dancer_version %></tt></td>
- </tr>
- <tr>
- <td>Backend</td>
- <td><tt><% settings.apphandler %></tt></td>
- </tr>
- <tr>
- <td>Appdir</td>
- <td><tt>/home/dave/git/shrtr/Shrtr</tt></td>
- </tr>
- <tr>
- <td>Template engine</td>
- <td><tt><% settings.template %></tt></td>
- </tr>
- <tr>
- <td>Logger engine</td>
- <td><tt><% settings.logger %></tt></td>
- </tr>
- <tr>
- <td>Running environment</td>
- <td><tt><% settings.environment %></tt></td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <script type="text/javascript">
- $('#about_env_link').click(function() {
- $('#about-content').slideToggle('fast', function() {
- // ok
- });
- return( false );
- });
- </script>
-
-
<ol>
<li>
- <h2>Tune your application</h2>
+ <h2>Register as a user</h2>
- <p>
- Your application is configured via a global configuration file,
- <tt>config.yml</tt> and an "environment" configuration file,
- <tt>environments/development.yml</tt>. Edit those files if you
- want to change the settings of your application.
- </p>
+ <p>Only registered users can use Shrtr's URL shortening
+ service. You can <a href="/register">register here</a>.</p>
</li>
<li>
- <h2>Add your own routes</h2>
+ <h2>Submit URLs</h2>
- <p>
- The default route that displays this page can be removed,
- it's just here to help you get started. The template used to
- generate this content is located in
- <code>views/index.tt</code>.
- You can add some routes to <tt>lib/Shrtr.pm</tt>.
- </p>
+ <p>Once you're registered and logged in, you can
+ <a href="/submit">submit a URL</a>.</p>
</li>
<li>
- <h2>Enjoy web development again</h2>
+ <h2>Profit!</h2>
- <p>
- Once you've made your changes, restart your standalone server
- (bin/app.pl) and you're ready to test your web application.
- </p>
+ <p>Or, more accurately, stop other people profiting from
+ you linking to them.</p>
</li>
</ol>
View
34 Shrtr/views/layouts/main.tt
@@ -1,22 +1,14 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-type" content="text/html; charset=[% settings.charset %]" />
-<title>Shrtr</title>
-<link rel="stylesheet" href="[% request.uri_base %]/css/style.css" />
-
-<!-- Grab Google CDN's jQuery. fall back to local if necessary -->
-<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
-<script type="text/javascript">/* <![CDATA[ */
- !window.jQuery && document.write('<script type="text/javascript" src="[% request.uri_base %]/javascripts/jquery.js"><\/script>')
-/* ]]> */</script>
-
-</head>
-<body>
-[% content %]
-<div id="footer">
-Powered by <a href="http://perldancer.org/">Dancer</a> [% dancer_version %]
-</div>
-</body>
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=[% settings.charset %]" />
+ <title>Shrtr</title>
+ <link rel="stylesheet" href="[% request.uri_base %]/css/style.css" />
+ </head>
+ <body>
+ [% content %]
+ <div id="footer">
+ Powered by <a href="http://perldancer.org/">Dancer</a> [% dancer_version %]
+ </div>
+ </body>
</html>
View
105 db/shrtr.sql
@@ -1,12 +1,99 @@
-create database if not exists shrtr;
-use shrtr;
+-- MySQL dump 10.13 Distrib 5.5.21, for Linux (i686)
+--
+-- Host: localhost Database: shrtr
+-- ------------------------------------------------------
+-- Server version 5.5.21
-# create user 'shrtr'@'localhost' identified by '5hr7r';
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-create table if not exists shrtr_url (
- code char(10) primary key,
- url text,
- clicks int
-) ENGINE InnoDB;
+--
+-- Table structure for table `click`
+--
-grant all on shrtr.* to 'shrtr';
+DROP TABLE IF EXISTS `click`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `click` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `url` int(11) NOT NULL,
+ `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ `referrer` varchar(200) CHARACTER SET latin1 DEFAULT NULL,
+ `user_agent` varchar(200) CHARACTER SET latin1 DEFAULT NULL,
+ `ip_address` varchar(15) CHARACTER SET latin1 DEFAULT NULL,
+ PRIMARY KEY (`id`),
+ KEY `url` (`url`),
+ CONSTRAINT `click_ibfk_1` FOREIGN KEY (`url`) REFERENCES `url` (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `url`
+--
+
+DROP TABLE IF EXISTS `url`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `url` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `code` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
+ `url` text CHARACTER SET latin1,
+ `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `code` (`code`)
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user`
+--
+
+DROP TABLE IF EXISTS `user`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user` (
+ `id` int(11) NOT NULL,
+ `username` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
+ `email` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
+ `password` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `user_url`
+--
+
+DROP TABLE IF EXISTS `user_url`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_url` (
+ `user` int(11) DEFAULT NULL,
+ `url` int(11) DEFAULT NULL,
+ `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ `ip` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
+ KEY `user` (`user`),
+ KEY `url` (`url`),
+ CONSTRAINT `user_url_ibfk_2` FOREIGN KEY (`url`) REFERENCES `url` (`id`),
+ CONSTRAINT `user_url_ibfk_1` FOREIGN KEY (`user`) REFERENCES `user` (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2012-04-08 16:56:16
View
2 util/getschema
@@ -17,7 +17,7 @@ make_schema_at(
use_moose => 1,
},
[
- 'dbi:mysql:database=shrtr', 'shrtr', '5hr7r',
+ 'dbi:mysql:database=shrtr', 'shrtr', 'shorty',
],
);

No commit comments for this range

Something went wrong with that request. Please try again.