Skip to content

Commit

Permalink
sql/mysql: suffix oss driver with oss
Browse files Browse the repository at this point in the history
  • Loading branch information
a8m committed Dec 25, 2024
1 parent 2e6aaaf commit 3137c76
Show file tree
Hide file tree
Showing 11 changed files with 467 additions and 618 deletions.
6 changes: 6 additions & 0 deletions sql/mysql/diff.go → sql/mysql/diff_oss.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// This source code is licensed under the Apache 2.0 license found
// in the LICENSE file in the root directory of this source tree.

//go:build !ent

package mysql

import (
Expand Down Expand Up @@ -723,3 +725,7 @@ func (d *diff) defaultCharset(attrs *[]schema.Attr) error {
}
return nil
}

func (*diff) ViewAttrChanges(_, _ *schema.View) []schema.Change {
return nil // Not implemented.
}
2 changes: 2 additions & 0 deletions sql/mysql/diff_test.go → sql/mysql/diff_oss_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// This source code is licensed under the Apache 2.0 license found
// in the LICENSE file in the root directory of this source tree.

//go:build !ent

package mysql

import (
Expand Down
Loading

0 comments on commit 3137c76

Please sign in to comment.