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
CREATE TABLE employees ( | |
id serial primary key, -- ID | |
name text, -- 名前 | |
join_year integer, -- 入社年 | |
department_id integer -- 所属部署ID | |
); | |
CREATE TABLE departments ( | |
id serial primary key, -- ID | |
name text -- 部署名 |
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
#!/bin/bash | |
set -eu | |
: ${FILENAME_COLOR:="\e[35m"} | |
if [ -t 1 ]; then | |
color=$FILENAME_COLOR | |
else | |
color= | |
fi | |
for opt in "$@"; do |