Command
└─Schema
public class Schema
extends Command
| Method Summary | |
|---|---|
| protected void | 配置指令 |
| protected null|int | execute(Input input, Output output) 执行指令 |
| protected void | buildModelSchema(mixed class) |
| protected void | buildDataBaseSchema(mixed tables, mixed db) |
| Methods inherited from think\console\Command | |
|---|---|
| __construct, addArgument, addOption, addUsage, configure, execute, getAliases, getConsole, getDefinition, getDescription, getHelp, getName, getNativeDefinition, getProcessedHelp, getSynopsis, getUsages, ignoreValidationErrors, initialize, interact, isEnabled, mergeConsoleDefinition, run, setAliases, setCode, setConsole, setDefinition, setDescription, setHelp, setName | |
protected void configure()
配置指令
protected null|int execute(Input input, Output output)
执行指令
protected void buildModelSchema(mixed class)
protected void buildDataBaseSchema(mixed tables, mixed db)