feat(package): migrator: something
This commit is contained in:
8
test/package/migrator/util.sh
Normal file
8
test/package/migrator/util.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# columns(table)
|
||||
columns() {
|
||||
psql -Atc 'SELECT column_name
|
||||
FROM information_schema.columns
|
||||
WHERE table_name = '"${1};"
|
||||
}
|
||||
Reference in New Issue
Block a user