Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for comments #17

Open
1 of 4 tasks
PeeHaa opened this issue Jul 31, 2019 · 2 comments
Open
1 of 4 tasks

Add support for comments #17

PeeHaa opened this issue Jul 31, 2019 · 2 comments

Comments

@PeeHaa
Copy link
Owner

PeeHaa commented Jul 31, 2019

We should at least support comments on:

  • tables
  • columns
  • constraints
  • indexes
@PeeHaa
Copy link
Owner Author

PeeHaa commented Aug 9, 2019

For tables:

$this->createTable('comment_test', function (Table $table) {
})->addComment('This is the table comment');
$this->createTable('comment_test', function (Table $table) {
})->removeComment();

For columns:

$this->createTable('comment_test', function (Table $table) {
    $table->addColumn('id', new BigSerial())->comment('This is the comment');
});
$this->createTable('comment_test', function (Table $table) {
    $table->addColumn('id', new BigSerial())->removeComment();
});

@PeeHaa
Copy link
Owner Author

PeeHaa commented Aug 9, 2019

PR: #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant