```ruby
class AddLockedToForemTopics < ActiveRecord::Migration
  def change
    add_column :forem_topics, :locked, :boolean
  end
end
```

Add default for forem_topics locked to false in spec migrations
user
```ruby
class AddLockedToForemTopics < ActiveRecord::Migration
  def change
    add_column :forem_topics, :locked, :boolean, :null => false, :default => false
  end
end
```
assistant