profile
viewpoint
Yuto Akiba touyu @rinacita Inc. Kyoto or Tokyo https://touyu.me CTO @ Rinacita Inc.

touyu/Portannict 16

:iphone: Elegant annict client app for iOS.

touyu/BlurKit 14

A lightweight library that can easily blur the view.

touyu/SwiftyAttributedString 12

The library that makes AttributedString easy to use

touyu/Pager 3

An elegant pager controller library for iOS

touyu/Flatland-for-Xcode 1

Flatland is a color theme which is suitable for dark mode of Xcode

touyu/memo 1

📝This is just a memorandum.

touyulab/0ch-Scraping-App 1

:iphone: 0chをスクレイピングするアプリ

touyulab/Collecture 1

:iphone: 時間割から自動で写真やメモを保存するアプリ

touyulab/Horizonal-AWA 1

サイバーエージェントのインターンで作成

startedYijunmaverick/CartoonGAN-Test-Pytorch-Torch

started time in 13 hours

startedlllyasviel/style2paints

started time in 14 hours

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha f2ffef90dc750a72931eb12daa080d8fa61054fd

Update README.md

view details

push time in 8 days

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha 4bea4fe3c5b367333dcdc4e98cb230800c90d639

Fix token parameter

view details

Yuto Akiba

commit sha 358e753e6ae39b34174bf8845349575c84f0e2bd

Remove .idea

view details

push time in 8 days

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha cc36dddacc7e273ca6f10a76e1e58c3aa2eb75f8

Fix token

view details

push time in 9 days

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha 4041214bec5e39789c9cb868200a6fd49bf1758a

Fix token

view details

push time in 9 days

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha 60b40c1dca028576e7efd17399af9bce300a5f86

Fix token

view details

push time in 9 days

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha 04eef7aec6eb9ef546c31446d6089f99229c4603

Add AmazonPayService

view details

push time in 9 days

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha e7deb79d0c4350cb53cc032348de471c567f003a

Add AmazonPayService

view details

push time in 9 days

push eventtouyu/amazon-pay-sdk-go

Yuto Akiba

commit sha 342cc5ab695a296c7ceb329b3522aaced8f5650e

Add Billing Agreement

view details

Yuto Akiba

commit sha 530440c86d3ddd094e3a61c7d880d0e2441d8828

Remove .idea

view details

push time in 9 days

push eventtouyu/Keras-Vanila-GAN

touyu

commit sha d6986c59b38e7cb06825871f4617f2b097c9c3de

Fix

view details

touyu

commit sha c6c9d01fe1bb50ed2472d722f4b0696240f52b20

Add gitignore

view details

touyu

commit sha 211167066839f00e31cff534d6ae37453ada4c3e

Fix

view details

push time in 13 days

create barnchtouyu/Keras-Vanila-GAN

branch : master

created branch time in 13 days

created repositorytouyu/Keras-Vanila-GAN

created time in 13 days

create barnchtouyu/Keras-Vanila-GAN

branch : master

created branch time in 13 days

created repositorytouyu/Keras-Vanila-GAN

created time in 13 days

fork touyu/Keras-GAN

Keras implementations of Generative Adversarial Networks.

fork in 13 days

startedtriwave33/GAN

started time in 14 days

startedgoodfeli/adversarial

started time in 14 days

startederiklindernoren/Keras-GAN

started time in 20 days

startedbstriner/keras-adversarial

started time in 20 days

startedchromedp/cdproto

started time in 25 days

push eventtouyu/memo

touyu

commit sha 3c06e950aed6ee36d4381a449988fa67e272f7b2

Automated deployment: Sat Apr 25 08:52:52 UTC 2020 7f38ab3f051693f1a0fcf1436672f2dbfe20048a

view details

push time in a month

push eventtouyu/memo

Yuto Akiba

commit sha 7f38ab3f051693f1a0fcf1436672f2dbfe20048a

Update homebuilt-computer2.md

view details

push time in a month

push eventtouyu/memo

touyu

commit sha b6f6b568b9b9d34afc3469dfa72a91b3df4bf063

Automated deployment: Sat Apr 25 08:50:24 UTC 2020 546658ba974f1ddcba073af6da39dfe41520fde1

view details

push time in a month

push eventtouyu/memo

Yuto Akiba

commit sha 546658ba974f1ddcba073af6da39dfe41520fde1

Create homebuilt-computer2.md

view details

push time in a month

startedmatterport/Mask_RCNN

started time in a month

startedcarpedm20/DCGAN-tensorflow

started time in a month

push eventtouyu/memo

touyu

commit sha 19c4f977f415aebb1fa744e3ef980885d55aa55f

Automated deployment: Sun Apr 12 12:25:04 UTC 2020 fc3a44dbd7731f825adc047b5cc1cb1c7d1516ae

view details

push time in a month

push eventtouyu/memo

Yuto Akiba

commit sha fc3a44dbd7731f825adc047b5cc1cb1c7d1516ae

Update README.md

view details

push time in a month

push eventtouyu/memo

touyu

commit sha edbbd83953a01bd220d2f27b844654d3d2ce5b77

Automated deployment: Sun Apr 12 12:20:13 UTC 2020 4890327192b5c6c855e143f909b1324099ee524d

view details

push time in a month

push eventtouyu/memo

Yuto Akiba

commit sha 4890327192b5c6c855e143f909b1324099ee524d

Update README.md

view details

push time in a month

startedYusukeHosonuma/SwiftPrettyPrint

started time in 2 months

starteduias/Pageboy

started time in 2 months

issue openedvolatiletech/sqlboiler

Adding a column specified in Foreign Key to blacklist causes panic when generate code

What version of SQLBoiler are you using (sqlboiler --version)?

SQLBoiler v3.6.1

What is your database and version (eg. Postgresql 10)

mysql Ver 8.0.18 for osx10.14 on x86_64 (Homebrew)

If this happened at generation time what was the full SQLBoiler command you used to generate your models? (if not applicable leave blank)

sqlboiler --wipe mysql

If this happened at runtime what code produced the issue? (if not applicable leave blank)

What is the output of the command above with the -d flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)

{
    "config": {
        "driver_name": "mysql",
        "driver_config": {
            "blacklist": [
                "items.user_id"
            ],
            "dbname": "sqlboiler",
            "host": "127.0.0.1",
            "port": 3306,
            "sslmode": "false",
            "user": "root",
            "whitelist": null
        },
        "pkg_name": "models",
        "out_folder": "models",
        "debug": true,
        "wipe": true,
        "struct_tag_casing": "snake",
        "imports": {
            "all": {
                "Standard": [
                    "\"database/sql\"",
                    "\"fmt\"",
                    "\"reflect\"",
                    "\"strings\"",
                    "\"sync\"",
                    "\"time\""
                ],
                "ThirdParty": [
                    "\"github.com/friendsofgo/errors\"",
                    "\"github.com/volatiletech/sqlboiler/boil\"",
                    "\"github.com/volatiletech/sqlboiler/queries\"",
                    "\"github.com/volatiletech/sqlboiler/queries/qm\"",
                    "\"github.com/volatiletech/sqlboiler/queries/qmhelper\"",
                    "\"github.com/volatiletech/sqlboiler/strmangle\""
                ]
            },
            "test": {
                "Standard": [
                    "\"bytes\"",
                    "\"reflect\"",
                    "\"testing\""
                ],
                "ThirdParty": [
                    "\"github.com/volatiletech/sqlboiler/boil\"",
                    "\"github.com/volatiletech/sqlboiler/queries\"",
                    "\"github.com/volatiletech/sqlboiler/randomize\"",
                    "\"github.com/volatiletech/sqlboiler/strmangle\""
                ]
            },
            "singleton": {
                "boil_queries": {
                    "Standard": null,
                    "ThirdParty": [
                        "\"github.com/volatiletech/sqlboiler/drivers\"",
                        "\"github.com/volatiletech/sqlboiler/queries\"",
                        "\"github.com/volatiletech/sqlboiler/queries/qm\""
                    ]
                },
                "boil_types": {
                    "Standard": [
                        "\"strconv\""
                    ],
                    "ThirdParty": [
                        "\"github.com/friendsofgo/errors\"",
                        "\"github.com/volatiletech/sqlboiler/boil\"",
                        "\"github.com/volatiletech/sqlboiler/strmangle\""
                    ]
                }
            },
            "test_singleton": {
                "boil_main_test": {
                    "Standard": [
                        "\"database/sql\"",
                        "\"flag\"",
                        "\"fmt\"",
                        "\"math/rand\"",
                        "\"os\"",
                        "\"path/filepath\"",
                        "\"strings\"",
                        "\"testing\"",
                        "\"time\""
                    ],
                    "ThirdParty": [
                        "\"github.com/spf13/viper\"",
                        "\"github.com/volatiletech/sqlboiler/boil\""
                    ]
                },
                "boil_queries_test": {
                    "Standard": [
                        "\"bytes\"",
                        "\"fmt\"",
                        "\"io\"",
                        "\"io/ioutil\"",
                        "\"math/rand\"",
                        "\"regexp\""
                    ],
                    "ThirdParty": [
                        "\"github.com/volatiletech/sqlboiler/boil\""
                    ]
                },
                "boil_suites_test": {
                    "Standard": [
                        "\"testing\""
                    ],
                    "ThirdParty": null
                }
            }
        },
        "aliases": {},
        "version": "3.6.1"
    },
    "driver_config": {
        "blacklist": [
            "items.user_id"
        ],
        "dbname": "sqlboiler",
        "host": "127.0.0.1",
        "port": 3306,
        "sslmode": "false",
        "user": "root",
        "whitelist": null
    },
    "schema": "",
    "dialect": {
        "lq": 0,
        "rq": 0,
        "use_index_placeholders": false,
        "use_last_insert_id": false,
        "use_schema": false,
        "use_default_keyword": false,
        "use_auto_columns": false,
        "use_top_clause": false,
        "use_output_clause": false,
        "use_case_when_exists_clause": false
    },
    "tables": null,
    "templates": null
}

Please provide a relevant database schema so we can replicate your issue (Provided you are comfortable sharing this)

CREATE TABLE `users` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

CREATE TABLE `items` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) unsigned NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `items_ibfk_1` (`user_id`),
  CONSTRAINT `items_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

Further information. What did you do, what did you expect?

I expected that adding items.user_id to the blacklist would remove user_id from items and remove items from users' relations.

However running sqlboiler --wipe mysql caused panic

panic: could not find column name: user_id [recovered]
panic: interface conversion: string is not error: missing method Error

Is there a way to solve this problem?

created time in 2 months

startedjanselv/fave-button

started time in 3 months

startedblinksh/blink

started time in 3 months

startedshunsukesaito/PIFu

started time in 3 months

startedSteveLTN/https-portal

started time in 3 months

startedniw/KeyboardGuide

started time in 3 months

more