Bugzilla – Attachment 65162 Details for
Bug 18970
Yet another try at issue id's
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 1xxxx: DBIx schema changes for Autoincrement
Bug-1xxxx-DBIx-schema-changes-for-Autoincrement.patch (text/plain), 1.74 KB, created by
Marcel de Rooy
on 2017-07-21 09:58:42 UTC
(
hide
)
Description:
Bug 1xxxx: DBIx schema changes for Autoincrement
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-07-21 09:58:42 UTC
Size:
1.74 KB
patch
obsolete
>From 3cc5985b56d49903d7b0ea5ae79329272052e0d9 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 21 Jul 2017 09:20:19 +0200 >Subject: [PATCH] Bug 1xxxx: DBIx schema changes for Autoincrement >Content-Type: text/plain; charset=utf-8 > >--- > Koha/Schema/Result/Autoincrement.pm | 65 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) > create mode 100644 Koha/Schema/Result/Autoincrement.pm > >diff --git a/Koha/Schema/Result/Autoincrement.pm b/Koha/Schema/Result/Autoincrement.pm >new file mode 100644 >index 0000000..82e434a >--- /dev/null >+++ b/Koha/Schema/Result/Autoincrement.pm >@@ -0,0 +1,65 @@ >+use utf8; >+package Koha::Schema::Result::Autoincrement; >+ >+# Created by DBIx::Class::Schema::Loader >+# DO NOT MODIFY THE FIRST PART OF THIS FILE >+ >+=head1 NAME >+ >+Koha::Schema::Result::Autoincrement >+ >+=cut >+ >+use strict; >+use warnings; >+ >+use base 'DBIx::Class::Core'; >+ >+=head1 TABLE: C<autoincrement> >+ >+=cut >+ >+__PACKAGE__->table("autoincrement"); >+ >+=head1 ACCESSORS >+ >+=head2 tablename >+ >+ data_type: 'varchar' >+ default_value: (empty string) >+ is_nullable: 0 >+ size: 255 >+ >+=head2 counter >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ >+=cut >+ >+__PACKAGE__->add_columns( >+ "tablename", >+ { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, >+ "counter", >+ { data_type => "integer", is_nullable => 1 }, >+); >+ >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</tablename> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("tablename"); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-07-21 09:12:28 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/oqngm8/JHahowIfaO6zTA >+ >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+1; >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18970
: 65162 |
65163
|
65164