PostgresBuilder::disableForeignKeyConstraints()

bool disableForeignKeyConstraints() Disable foreign key constraints. Return Value bool

PostgresBuilder::create()

void create(string $table, Closure $callback) Create a new table on the schema. Parameters string $table Closure $callback Return Value void

PostgresBuilder::blueprintResolver()

void blueprintResolver(Closure $resolver) Set the Schema Blueprint resolver callback. Parameters Closure $resolver Return Value void

PostgresBuilder

PostgresBuilder class PostgresBuilder extends Builder (View source) Methods void __construct(Connection $connection) Create a new database Schema manager. from Builder bool hasTable(string $table) Determine if the given table exists. bool hasColumn(string $table, string $column) Determine if the given table has a given column. from Builder bool hasColumns(string $table, array $columns) Determine if the given table has given columns. from Builder string getColumnType(strin

PolicyMakeCommand::__construct()

void __construct(Filesystem $files) Create a new controller creator command instance. Parameters Filesystem $files Return Value void

PolicyMakeCommand::warn()

void warn(string $string, null|int|string $verbosity = null) Write a string as warning output. Parameters string $string null|int|string $verbosity Return Value void

PolicyMakeCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

PolicyMakeCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

PolicyMakeCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

PolicyMakeCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int