Abraham Elmahrek 12 лет назад
Родитель
Сommit
7b3c3d937e

+ 21 - 0
apps/hbase/src/hbase/migrations/0001_initial.py

@@ -0,0 +1,21 @@
+# encoding: utf-8
+import datetime
+from south.db import db
+from south.v2 import SchemaMigration
+from django.db import models
+
+class Migration(SchemaMigration):
+    
+    def forwards(self, orm):
+        pass
+    
+    
+    def backwards(self, orm):
+        pass
+    
+    
+    models = {
+        
+    }
+    
+    complete_apps = ['hbase']

+ 0 - 19
apps/hbase/src/hbase/models.py

@@ -14,22 +14,3 @@
 # 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.
-
-try:
-  import json
-except ImportError:
-  import simplejson as json
-import posixpath
-
-from django.db import models
-from django.contrib.auth.models import User
-from django.utils.translation import ugettext as _, ugettext_lazy as _t
-
-from desktop.lib.exceptions_renderable import PopupException
-
-
-class PresetView(models.Model): # preset views for loading toggled/untoggled columns/rows
-	pass
-
-class TypeAlias(models.Model): # non-native data types, default alias of string, parsed in custom user-defined way
-	pass

+ 21 - 0
apps/sqoop/src/sqoop/migrations/0001_initial.py

@@ -0,0 +1,21 @@
+# encoding: utf-8
+import datetime
+from south.db import db
+from south.v2 import SchemaMigration
+from django.db import models
+
+class Migration(SchemaMigration):
+    
+    def forwards(self, orm):
+        pass
+    
+    
+    def backwards(self, orm):
+        pass
+    
+    
+    models = {
+        
+    }
+    
+    complete_apps = ['sqoop']