Help for this page

Select Code to Download


  1. or download this
    oarj3=> select column_name,data_type from information_schema.columns w
    +here table_name like 'urls';
       column_name   |     data_type     
    ...
     tbl             | character varying
     id              | integer
    (12 rows)
    
  2. or download this
    dbicdump -o dump_directory=./lib/perl -o debug=1 EDINA::ORI dbi:Pg:dbname=oarj3;host=[host];port=[port] [username] [password]
  3. or download this
    __PACKAGE__->add_columns(
      "id",
    ...
      "primary",
      { data_type => "boolean", default_value => \"false", is_nullable => 
    +0 },
    );
    
  4. or download this
    EDINA::ORI::Result::Url->table("urls");
    Column 'table' in table 'urls' collides with an inherited method.
    ...
      { data_type => "boolean", default_value => \"false", is_nullable => 
    +0 },
    );
    DBIx::Class::Schema::Loader::make_schema_at(): urls has no primary key
    + at /usr/local/bin/dbicdump line 178