mirror of
https://github.com/beego/bee.git
synced 2024-11-24 03:20:55 +00:00
ea63bf253e
SUMMARY: The DDL migration can now be generated by adding a `-ddl` and a proper "alter" or "create" as argument value. Migration generation had been modified to accommodate the complementary code for ddl generation Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
25 lines
800 B
Go
25 lines
800 B
Go
// Copyright 2013 bee authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License"): you may
|
|
// not use this file except in compliance with the License. You may obtain
|
|
// a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
// License for the specific language governing permissions and limitations
|
|
// under the License.
|
|
|
|
package generate
|
|
|
|
import "github.com/beego/bee/utils"
|
|
|
|
var SQLDriver utils.DocValue
|
|
var SQLConn utils.DocValue
|
|
var Level utils.DocValue
|
|
var Tables utils.DocValue
|
|
var Fields utils.DocValue
|
|
var DDL utils.DocValue
|